diff options
author | Jr Aquino <jr.aquino@citrix.com> | 2010-11-02 09:00:40 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-11-03 10:23:40 -0400 |
commit | c99fda0d1e880a444a1b3f92465fdf11539a8154 (patch) | |
tree | 4c6c1a1909dc7e1950997c207992af9e8af997e9 /ipalib/plugins/sudorule.py | |
parent | 813dfe501348a671eeb3655cc7406c8e37a3860c (diff) | |
download | freeipa-c99fda0d1e880a444a1b3f92465fdf11539a8154.tar.gz freeipa-c99fda0d1e880a444a1b3f92465fdf11539a8154.tar.xz freeipa-c99fda0d1e880a444a1b3f92465fdf11539a8154.zip |
Added fixes to adjust for sudocmd attribute for sudocmds. Added fix for sudorule to allow for cmdCategory all Added fixes for xmlrpc tests to reflect sudocmd changes.
Diffstat (limited to 'ipalib/plugins/sudorule.py')
-rw-r--r-- | ipalib/plugins/sudorule.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py index 0bdf982e2..df0ae5c4d 100644 --- a/ipalib/plugins/sudorule.py +++ b/ipalib/plugins/sudorule.py @@ -58,6 +58,12 @@ class sudorule(LDAPObject): cli_name='desc', label=_('Description'), ), + StrEnum('cmdcategory?', + cli_name='cmdcat', + label=_('Command category'), + doc=_('Command category the rule applies to'), + values=(u'all', ), + ), Str('memberuser_user?', label=_('Users'), flags=['no_create', 'no_update', 'no_search'], |