diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-02-15 12:17:00 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-15 13:39:49 -0500 |
commit | edcdd87bc89dcad82d311dea6e650bff10e04f53 (patch) | |
tree | a1bd2a3b50d5a9642a72d722aa4a579e134efc02 /API.txt | |
parent | 94395b2661722459275a8a9acf31df74685d9932 (diff) | |
download | freeipa-edcdd87bc89dcad82d311dea6e650bff10e04f53.tar.gz freeipa-edcdd87bc89dcad82d311dea6e650bff10e04f53.tar.xz freeipa-edcdd87bc89dcad82d311dea6e650bff10e04f53.zip |
A privilege cannot be a member of a permission, remove it from metadata
ticket 970
Diffstat (limited to 'API.txt')
-rw-r--r-- | API.txt | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1755,12 +1755,11 @@ output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user") command: privilege_add_member -args: 1,5,3 +args: 1,4,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Privilege name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('permission?', alwaysask=True, cli_name='permissions',ist('permission?', alwaysask=True, cli_name='permissions', doc='comma-separated list of permissions to add', label='permission', multivalue=True) option: List('role?', alwaysask=True, cli_name='roles',ist('role?', alwaysask=True, cli_name='roles', doc='comma-separated list of roles to add', label='role', multivalue=True) output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', <type 'dict'>, Gettext('Members that could not be added', domain='ipa', localedir=None)) @@ -1811,12 +1810,11 @@ output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user") command: privilege_remove_member -args: 1,5,3 +args: 1,4,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Privilege name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('permission?', alwaysask=True, cli_name='permissions',ist('permission?', alwaysask=True, cli_name='permissions', doc='comma-separated list of permissions to remove', label='permission', multivalue=True) option: List('role?', alwaysask=True, cli_name='roles',ist('role?', alwaysask=True, cli_name='roles', doc='comma-separated list of roles to remove', label='role', multivalue=True) output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', <type 'dict'>, Gettext('Members that could not be removed', domain='ipa', localedir=None)) |