KEYCLOAK-2426
No visible link for users with 'manage-users' role
This commit is contained in:
parent
5f41215e27
commit
d8779a3d01
1 changed files with 4 additions and 4 deletions
|
@ -25,19 +25,19 @@ module.controller('GlobalCtrl', function($scope, $http, Auth, Current, $location
|
||||||
},
|
},
|
||||||
|
|
||||||
get viewRealm() {
|
get viewRealm() {
|
||||||
return getAccess('view-realm') || this.manageRealm;
|
return getAccess('view-realm') || getAccess('manage-realm') || this.manageRealm;
|
||||||
},
|
},
|
||||||
|
|
||||||
get viewClients() {
|
get viewClients() {
|
||||||
return getAccess('view-clients') || this.manageClients;
|
return getAccess('view-clients') || getAccess('manage-clients') || this.manageClients;
|
||||||
},
|
},
|
||||||
|
|
||||||
get viewUsers() {
|
get viewUsers() {
|
||||||
return getAccess('view-users') || this.manageClients;
|
return getAccess('view-users') || getAccess('manage-users') || this.manageClients;
|
||||||
},
|
},
|
||||||
|
|
||||||
get viewEvents() {
|
get viewEvents() {
|
||||||
return getAccess('view-events') || this.manageClients;
|
return getAccess('view-events') || getAccess('manage-events') || this.manageClients;
|
||||||
},
|
},
|
||||||
|
|
||||||
get manageRealm() {
|
get manageRealm() {
|
||||||
|
|
Loading…
Reference in a new issue