diff options
author | Adam Young <ayoung@redhat.com> | 2011-07-05 17:59:05 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-07-06 21:52:00 +0000 |
commit | e4a444ba8159f890daa124d1c546b977a91b9f32 (patch) | |
tree | 3a8110eaff3d2d695c4a0592f0f920b361a6a4c3 /install/ui/ipa.js | |
parent | aca908e1e4d08d52a95edca2013c510abe2d1788 (diff) | |
download | freeipa-e4a444ba8159f890daa124d1c546b977a91b9f32.tar.gz freeipa-e4a444ba8159f890daa124d1c546b977a91b9f32.tar.xz freeipa-e4a444ba8159f890daa124d1c546b977a91b9f32.zip |
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
Diffstat (limited to 'install/ui/ipa.js')
-rw-r--r-- | install/ui/ipa.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/install/ui/ipa.js b/install/ui/ipa.js index 4f194739b..4b505235b 100644 --- a/install/ui/ipa.js +++ b/install/ui/ipa.js @@ -123,6 +123,15 @@ var IPA = ( function () { } })); + batch.add_command(IPA.command({ + entity: 'hbacrule', + method: 'find', + options:{"accessruletype":"deny"}, + on_success: function(data, text_status, xhr) { + that.hbac_deny_rules = data; + } + })); + batch.execute(); }; |