summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/sudorule.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-06-29 15:09:29 -0400
committerRob Crittenden <rcritten@redhat.com>2011-07-14 19:18:02 -0400
commit9dfdf55034223e05c72e59239169be8cf315fc29 (patch)
tree856ada838a5cb48104326e725e5e35175cf2c3b6 /ipalib/plugins/sudorule.py
parentef29207047cb0d4af422d54cdb805f13d241db2e (diff)
downloadfreeipa-9dfdf55034223e05c72e59239169be8cf315fc29.tar.gz
freeipa-9dfdf55034223e05c72e59239169be8cf315fc29.tar.xz
freeipa-9dfdf55034223e05c72e59239169be8cf315fc29.zip
In sudo labels we should use RunAs and not Run As.
https://fedorahosted.org/freeipa/ticket/1328
Diffstat (limited to 'ipalib/plugins/sudorule.py')
-rw-r--r--ipalib/plugins/sudorule.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py
index a1d05a815..55d2904f5 100644
--- a/ipalib/plugins/sudorule.py
+++ b/ipalib/plugins/sudorule.py
@@ -102,14 +102,14 @@ class sudorule(LDAPObject):
),
StrEnum('ipasudorunasusercategory?',
cli_name='runasusercat',
- label=_('Run As User category'),
- doc=_('Run As User category the rule applies to'),
+ label=_('RunAs User category'),
+ doc=_('RunAs User category the rule applies to'),
values=(u'all', ),
),
StrEnum('ipasudorunasgroupcategory?',
cli_name='runasgroupcat',
- label=_('Run As Group category'),
- doc=_('Run As Group category the rule applies to'),
+ label=_('RunAs Group category'),
+ doc=_('RunAs Group category the rule applies to'),
values=(u'all', ),
),
Str('memberuser_user?',
@@ -145,11 +145,11 @@ class sudorule(LDAPObject):
flags=['no_create', 'no_update', 'no_search'],
),
Str('ipasudorunas_user?',
- label=_('Run As User'),
+ label=_('RunAs User'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('ipasudorunas_group?',
- label=_('Run As Group'),
+ label=_('RunAs Group'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('externaluser?',