summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-12-02 22:09:18 -0600
committerAdam Young <ayoung@redhat.com>2010-12-03 12:57:24 -0500
commit929cd858052f337f5edd2749426e6bf458fa54f4 (patch)
treeeb336a6aeae021b6cd39fd882464b2c202542dd9
parente33377bc1353141a035ce5d188cb63fa926fb86f (diff)
downloadfreeipa-929cd858052f337f5edd2749426e6bf458fa54f4.tar.gz
freeipa-929cd858052f337f5edd2749426e6bf458fa54f4.tar.xz
freeipa-929cd858052f337f5edd2749426e6bf458fa54f4.zip
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.
-rwxr-xr-xinstall/static/hbac.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js
index e2c1266c4..a85a89a51 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();
};