Make the UI capability based
This commit is contained in:
@@ -586,7 +586,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
Client.refreshInstalledApps(function (error) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
if ($scope.user.admin) {
|
||||
if ($scope.user.caps.apps) {
|
||||
fetchUsers();
|
||||
fetchGroups();
|
||||
getDomains();
|
||||
|
||||
Reference in New Issue
Block a user