mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Update 'caacl' plugin to support lightweight CAs
For backwards compatibility, an ACL that has no CAs and no CA category allows access to the IPA CA (host authority) only. Part of: https://fedorahosted.org/freeipa/ticket/4559 Reviewed-By: Jan Cholasta <jcholast@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
7d8699580d
commit
9c93015e78
31
API.txt
31
API.txt
@@ -521,12 +521,13 @@ output: Entry('result')
|
||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||
output: PrimaryKey('value')
|
||||
command: caacl_add
|
||||
args: 1,12,3
|
||||
args: 1,13,3
|
||||
arg: Str('cn', cli_name='name')
|
||||
option: Str('addattr*', cli_name='addattr')
|
||||
option: Flag('all', autofill=True, cli_name='all', default=False)
|
||||
option: Str('description?', cli_name='desc')
|
||||
option: StrEnum('hostcategory?', cli_name='hostcat', values=[u'all'])
|
||||
option: StrEnum('ipacacategory?', cli_name='cacat', values=[u'all'])
|
||||
option: StrEnum('ipacertprofilecategory?', cli_name='profilecat', values=[u'all'])
|
||||
option: Bool('ipaenabledflag?')
|
||||
option: Flag('no_members', autofill=True, default=False)
|
||||
@@ -538,6 +539,17 @@ option: Str('version?')
|
||||
output: Entry('result')
|
||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||
output: PrimaryKey('value')
|
||||
command: caacl_add_ca
|
||||
args: 1,5,3
|
||||
arg: Str('cn', cli_name='name')
|
||||
option: Flag('all', autofill=True, cli_name='all', default=False)
|
||||
option: Str('ca*', alwaysask=True, cli_name='cas')
|
||||
option: Flag('no_members', autofill=True, default=False)
|
||||
option: Flag('raw', autofill=True, cli_name='raw', default=False)
|
||||
option: Str('version?')
|
||||
output: Output('completed', type=[<type 'int'>])
|
||||
output: Output('failed', type=[<type 'dict'>])
|
||||
output: Entry('result')
|
||||
command: caacl_add_host
|
||||
args: 1,6,3
|
||||
arg: Str('cn', cli_name='name')
|
||||
@@ -607,12 +619,13 @@ output: Output('result', type=[<type 'bool'>])
|
||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||
output: PrimaryKey('value')
|
||||
command: caacl_find
|
||||
args: 1,14,4
|
||||
args: 1,15,4
|
||||
arg: Str('criteria?')
|
||||
option: Flag('all', autofill=True, cli_name='all', default=False)
|
||||
option: Str('cn?', autofill=False, cli_name='name')
|
||||
option: Str('description?', autofill=False, cli_name='desc')
|
||||
option: StrEnum('hostcategory?', autofill=False, cli_name='hostcat', values=[u'all'])
|
||||
option: StrEnum('ipacacategory?', autofill=False, cli_name='cacat', values=[u'all'])
|
||||
option: StrEnum('ipacertprofilecategory?', autofill=False, cli_name='profilecat', values=[u'all'])
|
||||
option: Bool('ipaenabledflag?', autofill=False)
|
||||
option: Flag('no_members', autofill=True, default=True)
|
||||
@@ -628,13 +641,14 @@ output: ListOfEntries('result')
|
||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||
output: Output('truncated', type=[<type 'bool'>])
|
||||
command: caacl_mod
|
||||
args: 1,14,3
|
||||
args: 1,15,3
|
||||
arg: Str('cn', cli_name='name')
|
||||
option: Str('addattr*', cli_name='addattr')
|
||||
option: Flag('all', autofill=True, cli_name='all', default=False)
|
||||
option: Str('delattr*', cli_name='delattr')
|
||||
option: Str('description?', autofill=False, cli_name='desc')
|
||||
option: StrEnum('hostcategory?', autofill=False, cli_name='hostcat', values=[u'all'])
|
||||
option: StrEnum('ipacacategory?', autofill=False, cli_name='cacat', values=[u'all'])
|
||||
option: StrEnum('ipacertprofilecategory?', autofill=False, cli_name='profilecat', values=[u'all'])
|
||||
option: Bool('ipaenabledflag?', autofill=False)
|
||||
option: Flag('no_members', autofill=True, default=False)
|
||||
@@ -647,6 +661,17 @@ option: Str('version?')
|
||||
output: Entry('result')
|
||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||
output: PrimaryKey('value')
|
||||
command: caacl_remove_ca
|
||||
args: 1,5,3
|
||||
arg: Str('cn', cli_name='name')
|
||||
option: Flag('all', autofill=True, cli_name='all', default=False)
|
||||
option: Str('ca*', alwaysask=True, cli_name='cas')
|
||||
option: Flag('no_members', autofill=True, default=False)
|
||||
option: Flag('raw', autofill=True, cli_name='raw', default=False)
|
||||
option: Str('version?')
|
||||
output: Output('completed', type=[<type 'int'>])
|
||||
output: Output('failed', type=[<type 'dict'>])
|
||||
output: Entry('result')
|
||||
command: caacl_remove_host
|
||||
args: 1,6,3
|
||||
arg: Str('cn', cli_name='name')
|
||||
|
||||
Reference in New Issue
Block a user