From db11592228ae6cabd4a353d7e3788a3ea0fb4262 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 10 Nov 2010 19:03:49 -0600 Subject: 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. --- install/static/hbac.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'install/static/hbac.js') 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 + $('

', { '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('

'); that.super_create(container); -- cgit