diff options
author | Jr Aquino <jr.aquino@citrix.com> | 2011-06-16 11:57:13 -0700 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-06-16 19:21:07 -0400 |
commit | 44cdf8ef54ff761a5e38919b8cdce5128928985a (patch) | |
tree | 9faa2078dfcea92034b4d7c480ab67b37415e18e /API.txt | |
parent | 0377123b191a0c94434ef1eeda653426ddd0a440 (diff) | |
download | freeipa-44cdf8ef54ff761a5e38919b8cdce5128928985a.tar.gz freeipa-44cdf8ef54ff761a5e38919b8cdce5128928985a.tar.xz freeipa-44cdf8ef54ff761a5e38919b8cdce5128928985a.zip |
Raise DuplicateEntry Error when adding a duplicate sudo option
https://fedorahosted.org/freeipa/ticket/1276
https://fedorahosted.org/freeipa/ticket/1277
https://fedorahosted.org/freeipa/ticket/1308
Added new Exception: AttrValueNotFound
Fixed XML Test for Sudorule remove_option
1276 (Raise AttrValueNotFound when trying to remove a non-existent option from Sudo rule)
1277 (Raise DuplicateEntry Error when adding a duplicate sudo option)
1308 (Make sudooption a required option for sudorule_remove_option)
Diffstat (limited to 'API.txt')
-rw-r--r-- | API.txt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2495,7 +2495,7 @@ output: Output('completed', <type 'int'>, Gettext('Number of members removed', d command: sudorule_remove_option args: 1,1,1 arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule name', domain='ipa', localedir=None), multivalue=False, primary_key=True, query=True, required=True) -option: Str('ipasudoopt?', cli_name='sudooption', label=Gettext('Sudo Option', domain='ipa', localedir=None)) +option: Str('ipasudoopt', cli_name='sudooption', label=Gettext('Sudo Option', domain='ipa', localedir=None)) output: Output('result', None, None) command: sudorule_remove_runasgroup args: 1,4,3 |