From e4a444ba8159f890daa124d1c546b977a91b9f32 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Tue, 5 Jul 2011 17:59:05 -0400 Subject: HBAC deny warning shows dialog if there are any HBAC deny rules. Dialog provides option to navigate to the HBAC page. Deny rules have their rule type value show up in red. Only shows up fro administrators, not for self service users. https://fedorahosted.org/freeipa/ticket/1421 --- install/ui/webui.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'install/ui/webui.js') diff --git a/install/ui/webui.js b/install/ui/webui.js index 2c4451489..01d060fcf 100644 --- a/install/ui/webui.js +++ b/install/ui/webui.js @@ -158,6 +158,12 @@ $(function() { IPA.nav.update(); $('#login_header').html(IPA.messages.login.header); + + if (IPA.hbac_deny_rules && IPA.hbac_deny_rules.count > 0){ + if (IPA.nav.name === 'admin'){ + IPA.hbac_deny_warning_dialog(); + } + } } -- cgit