summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/hbac.js
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-04-09 12:46:01 +0200
committerRob Crittenden <rcritten@redhat.com>2013-04-12 14:07:55 -0400
commit39982f6696267706b70f598ee80ce87924cc34a4 (patch)
tree56fd6e65aafebc4f196ba3e01a7259abab41fc88 /install/ui/src/freeipa/hbac.js
parent583bf43367769ca84ebc16594f8b70287b502311 (diff)
downloadfreeipa-39982f6696267706b70f598ee80ce87924cc34a4.tar.gz
freeipa-39982f6696267706b70f598ee80ce87924cc34a4.tar.xz
freeipa-39982f6696267706b70f598ee80ce87924cc34a4.zip
Remove HBAC source hosts from web UI
https://fedorahosted.org/freeipa/ticket/3528
Diffstat (limited to 'install/ui/src/freeipa/hbac.js')
-rw-r--r--install/ui/src/freeipa/hbac.js67
1 files changed, 0 insertions, 67 deletions
diff --git a/install/ui/src/freeipa/hbac.js b/install/ui/src/freeipa/hbac.js
index 5bf844469..b508fe7c4 100644
--- a/install/ui/src/freeipa/hbac.js
+++ b/install/ui/src/freeipa/hbac.js
@@ -465,73 +465,6 @@ IPA.hbacrule_details_facet = function(spec) {
}
);
- //
- // Source host
- //
-
- spec.fields.push(
- {
- type: 'radio',
- name: 'sourcehostcategory',
- widget: 'sourcehost.rule.sourcehostcategory'
- },
- {
- type: 'rule_association_table',
- name: 'sourcehost_host',
- widget: 'sourcehost.rule.sourcehost_host',
- priority: IPA.hbac.remove_method_priority
- },
- {
- type: 'rule_association_table',
- name: 'sourcehost_hostgroup',
- widget: 'sourcehost.rule.sourcehost_hostgroup',
- priority: IPA.hbac.remove_method_priority
- }
- );
-
- spec.widgets.push(
- {
- factory: IPA.collapsible_section,
- name: 'sourcehost',
- label: IPA.messages.objects.hbacrule.sourcehost,
- widgets: [
- {
- factory: IPA.rule_details_widget,
- name: 'rule',
- radio_name: 'sourcehostcategory',
- options: [
- { 'value': 'all', 'label': IPA.messages.objects.hbacrule.any_host },
- { 'value': '', 'label': IPA.messages.objects.hbacrule.specified_hosts }
- ],
- tables: [
- { 'name': 'sourcehost_host' },
- { 'name': 'sourcehost_hostgroup' }
- ],
- widgets: [
- {
- type: 'rule_association_table',
- id: entity_name+'-memberuser_user',
- name: 'sourcehost_host',
- add_method: 'add_sourcehost',
- remove_method: 'remove_sourcehost',
- add_title: IPA.messages.association.add.sourcehost,
- remove_title: IPA.messages.association.remove.sourcehost
- },
- {
- type: 'rule_association_table',
- id: entity_name+'-memberuser_group',
- name: 'sourcehost_hostgroup',
- add_method: 'add_sourcehost',
- remove_method: 'remove_sourcehost',
- add_title: IPA.messages.association.add.sourcehost,
- remove_title: IPA.messages.association.remove.sourcehost
- }
- ]
- }
- ]
- }
- );
-
var that = IPA.details_facet(spec);
that.update_on_success = function(data, text_status, xhr) {