diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-06-22 13:14:50 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-27 16:42:42 +0200 |
commit | 61987b66ba8dfcb0c683de64cbda77eb29f9f767 (patch) | |
tree | dd13960e53f404bda017541eb2a80760a0692088 /API.txt | |
parent | 055dfaf65725bec60e2e85273ec10ce027798fde (diff) | |
download | freeipa-61987b66ba8dfcb0c683de64cbda77eb29f9f767.tar.gz freeipa-61987b66ba8dfcb0c683de64cbda77eb29f9f767.tar.xz freeipa-61987b66ba8dfcb0c683de64cbda77eb29f9f767.zip |
automember: fix automember to work with thin client
Properly mark `cn` as primary key of `automember` object.
This fixes automember crashing on output validation expecting primary key
value of None.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r-- | API.txt | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -167,17 +167,18 @@ output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: PrimaryKey('value') command: automember_del args: 1,2,3 -arg: Str('cn', cli_name='automember_rule') +arg: Str('cn+', cli_name='automember_rule') option: StrEnum('type', values=[u'group', u'hostgroup']) option: Str('version?') output: Output('result', type=[<type 'dict'>]) output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: ListOfPrimaryKeys('value') command: automember_find -args: 1,5,4 +args: 1,6,4 arg: Str('criteria?') option: Flag('all', autofill=True, cli_name='all', default=False) option: Str('description?', autofill=False, cli_name='desc') +option: Flag('pkey_only?', autofill=True, default=False) option: Flag('raw', autofill=True, cli_name='raw', default=False) option: StrEnum('type', values=[u'group', u'hostgroup']) option: Str('version?') |