From 5deb9c2123031989271956ecd9a935b56aa07f50 Mon Sep 17 00:00:00 2001 From: Endi S. Dewata Date: Thu, 2 Dec 2010 22:09:18 -0600 Subject: [PATCH] Removed HBAC Access Time The interface for access time has been removed from HBAC details page. The code has been commented out, but not removed. --- install/static/hbac.js | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/install/static/hbac.js b/install/static/hbac.js index e2c1266c4fcde2e5f640111b377f831666b98c35..a85a89a51c507ca0ef108a398bc1cb61899d1919 100755 --- a/install/static/hbac.js +++ b/install/static/hbac.js @@ -314,7 +314,7 @@ function ipa_hbac_details_facet(spec) { 'name': 'sourcehost_hostgroup', 'label': 'Host Groups', 'category': category, 'other_entity': 'hostgroup', 'add_method': 'add_sourcehost', 'remove_method': 'remove_sourcehost' })); - +/* if (IPA.layout) { section = that.create_section({ 'name': 'accesstime', @@ -327,18 +327,6 @@ function ipa_hbac_details_facet(spec) { 'name': 'accesstime', 'label': 'When' }); -/* - section = ipa_rule_details_section({ - 'name': 'accesstime', - 'label': 'When', - 'text': 'Rule applies when access is being requested at:', - 'field_name': 'accesstimecategory', - 'tables': [ - { 'field_name': 'accesstime' } - ] - }); - that.add_section(section); -*/ } section.add_field(ipa_hbac_accesstime_widget({ @@ -350,7 +338,7 @@ function ipa_hbac_details_facet(spec) { { 'value': '', 'label': 'Specified Times' } ] })); - +*/ that.details_facet_init(); }; -- 1.6.6.1