summaryrefslogtreecommitdiffstats
path: root/ipalib
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:34:09 +0000
commit8d40e3813c5d7feb02d87ed86311966edd6535e9 (patch)
tree7e1aabd1f0201b9f4e8ef7c458bd6834ad862c2b /ipalib
parent65e978a243dbeb62d9b04c432dc44668ae37a965 (diff)
downloadfreeipa-8d40e3813c5d7feb02d87ed86311966edd6535e9.tar.gz
freeipa-8d40e3813c5d7feb02d87ed86311966edd6535e9.tar.xz
freeipa-8d40e3813c5d7feb02d87ed86311966edd6535e9.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')
-rw-r--r--ipalib/plugins/hbacrule.py6
-rw-r--r--ipalib/plugins/sudorule.py17
2 files changed, 12 insertions, 11 deletions
diff --git a/ipalib/plugins/hbacrule.py b/ipalib/plugins/hbacrule.py
index b7c0bcac0..22a6a0dc6 100644
--- a/ipalib/plugins/hbacrule.py
+++ b/ipalib/plugins/hbacrule.py
@@ -189,7 +189,7 @@ class hbacrule(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?',
@@ -201,11 +201,11 @@ class hbacrule(LDAPObject):
flags=['no_create', 'no_update', 'no_search'],
),
Str('sourcehost_host?',
- label=_('Source hosts'),
+ label=_('Source Hosts'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('sourcehost_hostgroup?',
- label=_('Source host groups'),
+ label=_('Source Host Groups'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('memberservice_hbacsvc?',
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'],
),
)