Disable various views for non-operators
This commit is contained in:
@@ -608,7 +608,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
fetchUsers();
|
||||
fetchGroups();
|
||||
getDomains();
|
||||
if ($scope.user.admin) getBackupConfig(); // FIXME: detect disabled backups some other way
|
||||
if ($scope.user.admin && $scope.config.features.operatorActions) getBackupConfig(); // FIXME: detect disabled backups some other way
|
||||
}
|
||||
|
||||
var refreshAppsTimer = $interval(Client.refreshInstalledApps.bind(Client), 5000);
|
||||
|
||||
Reference in New Issue
Block a user