spaces: fetch users/groups/domains
This commit is contained in:
@@ -598,7 +598,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
Client.onReady(function () {
|
||||
Client.refreshInstalledApps(); // refresh the new list immediately when switching from another view (appstore)
|
||||
|
||||
if ($scope.user.admin) {
|
||||
if ($scope.user.admin || $scope.config.spaces.enabled) {
|
||||
fetchUsers();
|
||||
fetchGroups();
|
||||
getDomains();
|
||||
|
||||
Reference in New Issue
Block a user