Indirect roles in WebUI
Add a check in the WebUI to use the admin navigation if a user is a indirect member of a role.
This commit is contained in:
1 parent
0d11b8b056
commit
e494650b2c
1 file changed
+3
@@ -151,6 +151,9 @@ $(function() {
|
||||
} else if (whoami.hasOwnProperty('memberof_role') &&
|
||||
whoami.memberof_role.length > 0) {
|
||||
factory = IPA.admin_navigation;
|
||||
} else if (whoami.hasOwnProperty('memberofindirect_role') &&
|
||||
whoami.memberofindirect_role.length > 0) {
|
||||
factory = IPA.admin_navigation;
|
||||
} else {
|
||||
factory = IPA.self_serv_navigation;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user