From 16e393ab228ab779c4b6c7cda38d524698fc8ede Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 4 Jun 2018 17:12:35 +0200 Subject: [PATCH] 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 --- PVE/API2/ACMEAccount.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/API2/ACMEAccount.pm b/PVE/API2/ACMEAccount.pm index 5e06024f..2743cfbb 100644 --- a/PVE/API2/ACMEAccount.pm +++ b/PVE/API2/ACMEAccount.pm @@ -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 => {},