summaryrefslogtreecommitdiffstats
path: root/install/ui/hbac.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/hbac.js')
-rw-r--r--install/ui/hbac.js24
1 files changed, 5 insertions, 19 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index 4e25123e4..0e775aa0b 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -203,14 +203,10 @@ IPA.hbacrule_details_facet = function(spec) {
function user_category_section(){
- var param_info = IPA.get_entity_param('hbacrule', 'usercategory');
-
var section = IPA.rule_details_section({
name: 'user',
- entity:that.entity,
-
+ entity: that.entity,
label: IPA.messages.objects.hbacrule.user,
- text: param_info.doc+':',
field_name: 'usercategory',
options: [
{ value: 'all', label: IPA.messages.objects.hbacrule.anyone },
@@ -242,13 +238,10 @@ IPA.hbacrule_details_facet = function(spec) {
}
function hostcategory_section(){
- var param_info = IPA.get_entity_param('hbacrule', 'hostcategory');
-
var section = IPA.rule_details_section({
name: 'host',
label: IPA.messages.objects.hbacrule.host,
- entity:that.entity,
- text: param_info.doc+':',
+ entity: that.entity,
field_name: 'hostcategory',
options: [
{ value: 'all', label: IPA.messages.objects.hbacrule.any_host },
@@ -280,13 +273,10 @@ IPA.hbacrule_details_facet = function(spec) {
}
function servicecategory_section(){
- var param_info = IPA.get_entity_param('hbacrule', 'servicecategory');
-
var section = IPA.rule_details_section({
name: 'service',
- entity:that.entity,
+ entity: that.entity,
label: IPA.messages.objects.hbacrule.service,
- text: param_info.doc+':',
field_name: 'servicecategory',
options: [
{ value: 'all',
@@ -294,7 +284,7 @@ IPA.hbacrule_details_facet = function(spec) {
{ value: '',
label: IPA.messages.objects.hbacrule.specified_services }
],
- 'tables': [
+ tables: [
{ field_name: 'memberservice_hbacsvc' },
{ field_name: 'memberservice_hbacsvcgroup' }
]
@@ -319,14 +309,10 @@ IPA.hbacrule_details_facet = function(spec) {
}
function sourcehostcategory_section(){
-
- var param_info = IPA.get_entity_param('hbacrule', 'sourcehostcategory');
-
var section = IPA.rule_details_section({
name: 'sourcehost',
- entity:that.entity,
+ entity: that.entity,
label: IPA.messages.objects.hbacrule.sourcehost,
- text: param_info.doc+':',
field_name: 'sourcehostcategory',
options: [
{ value: 'all', label: IPA.messages.objects.hbacrule.any_host },