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
This commit is contained in:
Adam Young
2011-07-05 17:59:05 -04:00
committed by Endi S. Dewata
parent aca908e1e4
commit e4a444ba81
11 changed files with 262 additions and 32 deletions

View File

@@ -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();
};