diff options
author | Jan Cholasta <jcholast@redhat.com> | 2016-06-30 06:37:52 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-06-30 16:32:20 +0200 |
commit | 0f578ec36ccb3ceb91d64e3967a4fcd01b240895 (patch) | |
tree | 492d4aabe215f7b57c7a3fd5198c0cc6b03f2102 /API.txt | |
parent | ae5f11b4de1d5e353a2e1b8345e316949f4b75ed (diff) | |
download | freeipa-0f578ec36ccb3ceb91d64e3967a4fcd01b240895.tar.gz freeipa-0f578ec36ccb3ceb91d64e3967a4fcd01b240895.tar.xz freeipa-0f578ec36ccb3ceb91d64e3967a4fcd01b240895.zip |
user: add object plugin for user_status
Change user_status from a method of user to a method of a new userstatus
class, which defines the extra attributes returned by user_status.
This fixes user_status CLI output.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r-- | API.txt | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5863,10 +5863,9 @@ output: Output('result', type=[<type 'dict'>]) output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: ListOfPrimaryKeys('value') command: user_status/1 -args: 1,4,4 -arg: Str('uid', cli_name='login') +args: 1,3,4 +arg: Str('useruid', cli_name='login') option: Flag('all', autofill=True, cli_name='all', default=False) -option: Flag('no_members', autofill=True, default=False) option: Flag('raw', autofill=True, cli_name='raw', default=False) option: Str('version?') output: Output('count', type=[<type 'int'>]) @@ -6615,6 +6614,7 @@ default: user_stage/1 default: user_status/1 default: user_undel/1 default: user_unlock/1 +default: userstatus/1 default: vault/1 default: vault_add_internal/1 default: vault_add_member/1 |