summaryrefslogtreecommitdiffstats
path: root/install/static/hbac.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-11-10 19:03:49 -0600
committerAdam Young <ayoung@redhat.com>2010-11-11 12:23:05 -0500
commitdb11592228ae6cabd4a353d7e3788a3ea0fb4262 (patch)
tree8a49357f4d2b6a15f3dfb8004c8339bb206b940d /install/static/hbac.js
parent65c9442e2697f9e5d8b6cc2b7c22a6b8da426247 (diff)
downloadfreeipa-db11592228ae6cabd4a353d7e3788a3ea0fb4262.tar.gz
freeipa-db11592228ae6cabd4a353d7e3788a3ea0fb4262.tar.xz
freeipa-db11592228ae6cabd4a353d7e3788a3ea0fb4262.zip
HBAC Service Groups
The HBAC Service Groups search, details, and association pages have been added under the HBAC tab. New test data files for HBAC Service Groups have been added. The sample metadata has been updated as well.
Diffstat (limited to 'install/static/hbac.js')
-rwxr-xr-xinstall/static/hbac.js16
1 files changed, 13 insertions, 3 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js
index fed645129..a5b7676c1 100755
--- a/install/static/hbac.js
+++ b/install/static/hbac.js
@@ -114,6 +114,10 @@ function ipa_hbac_search_facet(spec) {
that.create = function(container) {
var that = this;
+
+ // TODO: replace with IPA.metadata[that.entity_name].label
+ $('<h2/>', { 'html': 'HBAC Rules' }).appendTo(container);
+
/*
// Not yet implemented
@@ -142,11 +146,17 @@ function ipa_hbac_search_facet(spec) {
return false;
}
}));
-/*
+
right_buttons.append(ipa_button({
- 'label': 'Login Svc Groups'
+ 'label': 'HBAC Service Groups',
+ 'click': function() {
+ var state = {};
+ state['entity'] = 'hbacsvcgroup';
+ nav_push_state(state);
+ return false;
+ }
}));
-*/
+
container.append('<br/><br/>');
that.super_create(container);