summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-08-17 10:12:46 +0200
committerRob Crittenden <rcritten@redhat.com>2011-08-17 01:11:52 -0400
commita4b025404da2b707aaeea655e7c9298b5697e04c (patch)
tree3b169aecd77c91ae1b2687f20c0e59173aca229a /ipalib
parent9df6a4ed8cfa21e398ccb054e7ef4aaf323bdd70 (diff)
downloadfreeipa-a4b025404da2b707aaeea655e7c9298b5697e04c.zip
freeipa-a4b025404da2b707aaeea655e7c9298b5697e04c.tar.gz
freeipa-a4b025404da2b707aaeea655e7c9298b5697e04c.tar.xz
Add missing attribute labels for sudorule
https://fedorahosted.org/freeipa/ticket/1571
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/sudorule.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py
index 0c9a8c7..1785947 100644
--- a/ipalib/plugins/sudorule.py
+++ b/ipalib/plugins/sudorule.py
@@ -179,6 +179,14 @@ class sudorule(LDAPObject):
label=_('RunAs External Group'),
doc=_('External Group the commands can run as (sudorule-find only)'),
),
+ Str('ipasudoopt?',
+ label=_('Sudo Option'),
+ flags=['no_create', 'no_update', 'no_search'],
+ ),
+ Str('ipasudorunasgroup_group?',
+ label=_('RunAsGroup Group'),
+ flags=['no_create', 'no_update', 'no_search'],
+ ),
)
api.register(sudorule)