From 73af7db2fafb33dcdf0ad22b6837e961dc92271f Mon Sep 17 00:00:00 2001 From: Adam Young <[email protected]> Date: Thu, 13 Oct 2011 14:48:55 -0400 Subject: [PATCH] rolegroup to role
Fixes the webui for the case wherea user is not admin but has a roile. In thatcase, the UI should show the full administrative tabset, but was instead limited to the selfservice tabset. Addresses https://bugzilla.redhat.com/show_bug.cgi?id=745957 --- install/ui/webui.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/ui/webui.js b/install/ui/webui.js index f9fa41e09e2eeb98c3b290b8079eb31256b7d13b..189cddda1bc21ca01583802301fbfddcbb846e51 100644 --- a/install/ui/webui.js +++ b/install/ui/webui.js @@ -139,8 +139,8 @@ $(function() { } else if (whoami.hasOwnProperty('memberofindirect_group')&& whoami.memberofindirect_group.indexOf('admins') !== -1) { factory = IPA.admin_navigation; - } else if (whoami.hasOwnProperty('memberof_rolegroup') && - whoami.memberof_rolegroup.length > 0) { + } else if (whoami.hasOwnProperty('memberof_role') && + whoami.memberof_role.length > 0) { factory = IPA.admin_navigation; } else { factory = IPA.self_serv_navigation; -- 1.7.6
_______________________________________________ Freeipa-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/freeipa-devel
