let all users retrieve the directories and tos for acme
else all non-root users get an empty dropdown box for the directories and get no feedback why that is with this, they can select it, but ultimately get an api error if the permissions are not sufficient Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
05df07b3db
commit
2c4e1c3294
@ -309,6 +309,7 @@ __PACKAGE__->register_method ({
|
||||
path => 'tos',
|
||||
method => 'GET',
|
||||
description => "Retrieve ACME TermsOfService URL from CA.",
|
||||
permissions => { user => 'all' },
|
||||
parameters => {
|
||||
additionalProperties => 0,
|
||||
properties => {
|
||||
@ -338,6 +339,7 @@ __PACKAGE__->register_method ({
|
||||
path => 'directories',
|
||||
method => 'GET',
|
||||
description => "Get named known ACME directory endpoints.",
|
||||
permissions => { user => 'all' },
|
||||
parameters => {
|
||||
additionalProperties => 0,
|
||||
properties => {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user