mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Autofill the default revocation reason
https://fedorahosted.org/freeipa/ticket/1514
This commit is contained in:
parent
506cbaa1fb
commit
abb5ee22d2
2
API.txt
2
API.txt
@ -315,7 +315,7 @@ output: Output('result', <type 'dict'>, Gettext('Dictionary mapping variable nam
|
||||
command: cert_revoke
|
||||
args: 1,1,1
|
||||
arg: Str('serial_number', validate_serial_number, label=Gettext('Serial number', domain='ipa', localedir=None), normalizer=normalize_serial_number)
|
||||
option: Int('revocation_reason?', default=0, label=Gettext('Reason', domain='ipa', localedir=None), maxvalue=10, minvalue=0)
|
||||
option: Int('revocation_reason?', autofill=True, default=0, label=Gettext('Reason', domain='ipa', localedir=None), maxvalue=10, minvalue=0)
|
||||
output: Output('result', None, None)
|
||||
command: cert_show
|
||||
args: 1,1,1
|
||||
|
@ -536,6 +536,7 @@ class cert_revoke(VirtualCommand):
|
||||
minvalue=0,
|
||||
maxvalue=10,
|
||||
default=0,
|
||||
autofill=True
|
||||
),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user