From c99fda0d1e880a444a1b3f92465fdf11539a8154 Mon Sep 17 00:00:00 2001 From: Jr Aquino Date: Tue, 2 Nov 2010 09:00:40 -0700 Subject: 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. --- ipalib/plugins/sudorule.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ipalib/plugins/sudorule.py') diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py index 0bdf982e..df0ae5c4 100644 --- a/ipalib/plugins/sudorule.py +++ b/ipalib/plugins/sudorule.py @@ -57,6 +57,12 @@ class sudorule(LDAPObject): Str('description?', 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'), -- cgit