diff options
author | David SpÄngberg <david@tunna.org> | 2012-07-04 10:28:43 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-07-11 08:54:45 +0200 |
commit | e494650b2cdb6ac7e1eda3da7cf03d4c36f2739a (patch) | |
tree | 3b05a7e447a98739f58b749adabe4ba60789f79f /install/ui/webui.js | |
parent | 0d11b8b0567e8440f9cb553a99e1f66e545509d0 (diff) | |
download | freeipa-e494650b2cdb6ac7e1eda3da7cf03d4c36f2739a.tar.gz freeipa-e494650b2cdb6ac7e1eda3da7cf03d4c36f2739a.tar.xz freeipa-e494650b2cdb6ac7e1eda3da7cf03d4c36f2739a.zip |
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.
Diffstat (limited to 'install/ui/webui.js')
-rw-r--r-- | install/ui/webui.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/ui/webui.js b/install/ui/webui.js index 66efdb2cf..9df6f76f1 100644 --- a/install/ui/webui.js +++ b/install/ui/webui.js @@ -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; } |