Make the UI capability based

This commit is contained in:
Girish Ramakrishnan
2018-06-17 18:21:12 -07:00
parent cec1cc7086
commit 4db703aeb1
9 changed files with 32 additions and 30 deletions

View File

@@ -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();