summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/sudorule.py
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 /ipalib/plugins/sudorule.py
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 'ipalib/plugins/sudorule.py')
-rw-r--r--ipalib/plugins/sudorule.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py
index ddb0bd5ba..93ca03f01 100644
--- a/ipalib/plugins/sudorule.py
+++ b/ipalib/plugins/sudorule.py
@@ -141,7 +141,7 @@ class sudorule(LDAPObject):
flags=['no_create', 'no_update', 'no_search'],
),
Str('memberuser_group?',
- label=_('Groups'),
+ label=_('User Groups'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('memberhost_host?',
@@ -161,21 +161,21 @@ class sudorule(LDAPObject):
flags=['no_create', 'no_update', 'no_search'],
),
Str('memberallowcmd_sudocmdgroup?',
- label=_('Sudo Command Groups'),
+ label=_('Sudo Allow Command Groups'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('memberdenycmd_sudocmdgroup?',
- label=_('Sudo Command Groups'),
+ label=_('Sudo Deny Command Groups'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('ipasudorunas_user?',
- label=_('RunAs User'),
- doc=_('Run as a user or any user within a specified group'),
+ label=_('RunAs Users'),
+ doc=_('Run as a user'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('ipasudorunas_group?',
- label=_('RunAs Group'),
- doc=_('Run with the gid of a specified POSIX group '),
+ label=_('Groups of RunAs Users'),
+ doc=_('Run as any user within a specified group'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('externaluser?', validate_externaluser,
@@ -198,7 +198,8 @@ class sudorule(LDAPObject):
flags=['no_create', 'no_update', 'no_search'],
),
Str('ipasudorunasgroup_group?',
- label=_('RunAsGroup Group'),
+ label=_('RunAs Groups'),
+ doc=_('Run with the gid of a specified POSIX group'),
flags=['no_create', 'no_update', 'no_search'],
),
)