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
This commit is contained in:
Endi S. Dewata committed 2011-09-13 17:32:33 +00:00
1 parent df049ff13d
commit 0882c25c66
6 files changed
+859 -49

No files matched your search

+9 -8
View File
@@ -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'],
),
)