From e64db8cbc2e9571200cd14e7d2313102022c2813 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 11 Mar 2013 12:37:29 +0100 Subject: Filter groups by type (POSIX, non-POSIX, external) Added flag for each groups type: --posix, --nonposix, --external to group-find command. Group types: * non-POSIX: not posix, not external * POSIX: with objectclass posixgroup * external: with objectclass ipaexternalgroup https://fedorahosted.org/freeipa/ticket/3483 --- API.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'API.txt') diff --git a/API.txt b/API.txt index 81a1f6187..87db8d678 100644 --- a/API.txt +++ b/API.txt @@ -1307,11 +1307,12 @@ output: Output('result', , None) output: Output('summary', (, ), None) output: Output('value', , None) command: group_find -args: 1,24,4 +args: 1,27,4 arg: Str('criteria?', noextrawhitespace=False) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui') option: Str('cn', attribute=True, autofill=False, cli_name='group_name', maxlength=255, multivalue=False, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', primary_key=True, query=True, required=False) option: Str('description', attribute=True, autofill=False, cli_name='desc', multivalue=False, query=True, required=False) +option: Flag('external', autofill=True, cli_name='external', default=False) option: Int('gidnumber', attribute=True, autofill=False, cli_name='gid', minvalue=1, multivalue=False, query=True, required=False) option: Str('group*', cli_name='groups', csv=True) option: Str('in_group*', cli_name='in_groups', csv=True) @@ -1321,12 +1322,14 @@ option: Str('in_role*', cli_name='in_roles', csv=True) option: Str('in_sudorule*', cli_name='in_sudorules', csv=True) option: Str('no_group*', cli_name='no_groups', csv=True) option: Str('no_user*', cli_name='no_users', csv=True) +option: Flag('nonposix', autofill=True, cli_name='nonposix', default=False) option: Str('not_in_group*', cli_name='not_in_groups', csv=True) option: Str('not_in_hbacrule*', cli_name='not_in_hbacrules', csv=True) option: Str('not_in_netgroup*', cli_name='not_in_netgroups', csv=True) option: Str('not_in_role*', cli_name='not_in_roles', csv=True) option: Str('not_in_sudorule*', cli_name='not_in_sudorules', csv=True) option: Flag('pkey_only?', autofill=True, default=False) +option: Flag('posix', autofill=True, cli_name='posix', default=False) option: Flag('private', autofill=True, cli_name='private', default=False) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui') option: Int('sizelimit?', autofill=False, minvalue=0) -- cgit