mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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.
This commit is contained in:
parent
e33377bc13
commit
929cd85805
@ -314,7 +314,7 @@ function ipa_hbac_details_facet(spec) {
|
|||||||
'name': 'sourcehost_hostgroup', 'label': 'Host Groups', 'category': category,
|
'name': 'sourcehost_hostgroup', 'label': 'Host Groups', 'category': category,
|
||||||
'other_entity': 'hostgroup', 'add_method': 'add_sourcehost', 'remove_method': 'remove_sourcehost'
|
'other_entity': 'hostgroup', 'add_method': 'add_sourcehost', 'remove_method': 'remove_sourcehost'
|
||||||
}));
|
}));
|
||||||
|
/*
|
||||||
if (IPA.layout) {
|
if (IPA.layout) {
|
||||||
section = that.create_section({
|
section = that.create_section({
|
||||||
'name': 'accesstime',
|
'name': 'accesstime',
|
||||||
@ -327,18 +327,6 @@ function ipa_hbac_details_facet(spec) {
|
|||||||
'name': 'accesstime',
|
'name': 'accesstime',
|
||||||
'label': 'When'
|
'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({
|
section.add_field(ipa_hbac_accesstime_widget({
|
||||||
@ -350,7 +338,7 @@ function ipa_hbac_details_facet(spec) {
|
|||||||
{ 'value': '', 'label': 'Specified Times' }
|
{ 'value': '', 'label': 'Specified Times' }
|
||||||
]
|
]
|
||||||
}));
|
}));
|
||||||
|
*/
|
||||||
that.details_facet_init();
|
that.details_facet_init();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user