summaryrefslogtreecommitdiffstats
path: root/install/ui/hbac.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-09 18:58:52 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-13 17:32:33 +0000
commit0882c25c665da4cf0a14ab4b8eae10bcf86e9c5d (patch)
treec6d29e86deec6b45360015e6ebca286278fe2f78 /install/ui/hbac.js
parentdf049ff13dadceb8eeecc960622c8796cf287bec (diff)
downloadfreeipa-0882c25c665da4cf0a14ab4b8eae10bcf86e9c5d.tar.gz
freeipa-0882c25c665da4cf0a14ab4b8eae10bcf86e9c5d.tar.xz
freeipa-0882c25c665da4cf0a14ab4b8eae10bcf86e9c5d.zip
Fixed labels for run-as users and groups.
The labels for the run-as users and groups tables in sudo rule details page have been modified to improve the clarity. Ticket #1752
Diffstat (limited to 'install/ui/hbac.js')
-rw-r--r--install/ui/hbac.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index 0f2da3a9e..e2873a787 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -187,6 +187,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberuser_user',
name: 'memberuser_user',
+ entity: that.entity,
add_method: 'add_user',
remove_method: 'remove_user',
add_title: IPA.messages.association.add.member,
@@ -195,6 +196,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberuser_group',
name: 'memberuser_group',
+ entity: that.entity,
add_method: 'add_user',
remove_method: 'remove_user',
add_title: IPA.messages.association.add.member,
@@ -226,6 +228,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberhost_host',
name: 'memberhost_host',
+ entity: that.entity,
add_method: 'add_host',
remove_method: 'remove_host',
add_title: IPA.messages.association.add.member,
@@ -234,6 +237,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberhost_hostgroup',
name: 'memberhost_hostgroup',
+ entity: that.entity,
add_method: 'add_host',
remove_method: 'remove_host',
add_title: IPA.messages.association.add.member,
@@ -266,6 +270,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberservice_hbacsvc',
name: 'memberservice_hbacsvc',
+ entity: that.entity,
add_method: 'add_service',
remove_method: 'remove_service',
add_title: IPA.messages.association.add.member,
@@ -274,6 +279,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberservice_hbacsvcgroup',
name: 'memberservice_hbacsvcgroup',
+ entity: that.entity,
add_method: 'add_service',
remove_method: 'remove_service',
add_title: IPA.messages.association.add.member,
@@ -305,6 +311,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-sourcehost_host',
name: 'sourcehost_host',
+ entity: that.entity,
add_method: 'add_sourcehost',
remove_method: 'remove_sourcehost',
add_title: IPA.messages.association.add.sourcehost,
@@ -313,6 +320,7 @@ IPA.hbacrule_details_facet = function(spec) {
section.add_field(IPA.association_table_widget({
id: that.entity.name+'-sourcehost_hostgroup',
name: 'sourcehost_hostgroup',
+ entity: that.entity,
add_method: 'add_sourcehost',
remove_method: 'remove_sourcehost',
add_title: IPA.messages.association.add.sourcehost,