summaryrefslogtreecommitdiffstats
path: root/install/ui/sudo.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/sudo.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/sudo.js')
-rw-r--r--install/ui/sudo.js17
1 files changed, 12 insertions, 5 deletions
diff --git a/install/ui/sudo.js b/install/ui/sudo.js
index 4806c17b3..6b17e89ad 100644
--- a/install/ui/sudo.js
+++ b/install/ui/sudo.js
@@ -450,12 +450,12 @@ IPA.sudorule_details_facet = function(spec) {
that.add_section(options_section());
that.add_section(user_section());
that.add_section(host_section());
- that.add_section( IPA.sudo.rule_details_command_section({
- name: 'command',
- entity: that.entity,
- label: IPA.messages.objects.sudorule.command
+ that.add_section(IPA.sudo.rule_details_command_section({
+ name: 'command',
+ entity: that.entity,
+ label: IPA.messages.objects.sudorule.command
}));
- that.add_section( IPA.sudo.rule_details_runas_section({
+ that.add_section(IPA.sudo.rule_details_runas_section({
name: 'runas',
entity: that.entity,
label: IPA.messages.objects.sudorule.runas
@@ -704,6 +704,7 @@ IPA.sudo.rule_details_command_section = function(spec) {
that.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberallowcmd_sudocmd',
name: 'memberallowcmd_sudocmd',
+ entity: that.entity,
add_method: 'add_allow_command',
remove_method: 'remove_allow_command',
add_title: IPA.messages.association.add.memberallowcmd,
@@ -712,6 +713,7 @@ IPA.sudo.rule_details_command_section = function(spec) {
that.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberallowcmd_sudocmdgroup',
name: 'memberallowcmd_sudocmdgroup',
+ entity: that.entity,
add_method: 'add_allow_command',
remove_method: 'remove_allow_command',
add_title: IPA.messages.association.add.memberallowcmd,
@@ -721,6 +723,7 @@ IPA.sudo.rule_details_command_section = function(spec) {
that.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberdenycmd_sudocmd',
name: 'memberdenycmd_sudocmd',
+ entity: that.entity,
add_method: 'add_deny_command',
remove_method: 'remove_deny_command',
add_title: IPA.messages.association.add.memberdenycmd,
@@ -729,6 +732,7 @@ IPA.sudo.rule_details_command_section = function(spec) {
that.add_field(IPA.association_table_widget({
id: that.entity.name+'-memberdenycmd_sudocmdgroup',
name: 'memberdenycmd_sudocmdgroup',
+ entity: that.entity,
add_method: 'add_deny_command',
remove_method: 'remove_deny_command',
add_title: IPA.messages.association.add.memberdenycmd,
@@ -870,6 +874,7 @@ IPA.sudo.rule_details_runas_section = function(spec) {
that.add_field(IPA.sudorule_association_table_widget({
id: that.entity.name+'-runasruser_user',
name: 'ipasudorunas_user',
+ entity: that.entity,
add_method: 'add_runasuser',
remove_method: 'remove_runasuser',
add_title: IPA.messages.association.add.ipasudorunas,
@@ -878,6 +883,7 @@ IPA.sudo.rule_details_runas_section = function(spec) {
that.add_field(IPA.sudorule_association_table_widget({
id: that.entity.name+'-runasuser_group',
name: 'ipasudorunas_group',
+ entity: that.entity,
add_method: 'add_runasuser',
remove_method: 'remove_runasuser',
add_title: IPA.messages.association.add.ipasudorunas,
@@ -902,6 +908,7 @@ IPA.sudo.rule_details_runas_section = function(spec) {
that.add_field(IPA.sudorule_association_table_widget({
id: that.entity.name+'-runasgroup_group',
name: 'ipasudorunasgroup_group',
+ entity: that.entity,
add_method: 'add_runasgroup',
remove_method: 'remove_runasgroup',
add_title: IPA.messages.association.add.ipasudorunasgroup,