Signed-off-by: Hannes Laimer <[email protected]>
---
This came up in support, and without looking at the code the behaviour
was not clear. This should help with that.

 PVE/API2/Cluster.pm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/PVE/API2/Cluster.pm b/PVE/API2/Cluster.pm
index e7d245fb..47980396 100644
--- a/PVE/API2/Cluster.pm
+++ b/PVE/API2/Cluster.pm
@@ -178,7 +178,10 @@ __PACKAGE__->register_method({
     path => 'log',
     method => 'GET',
     description => "Read cluster log",
-    permissions => { user => 'all' },
+    permissions => {
+        description => "The user needs 'Sys.Syslog' on '/' in order to get all 
logs.",
+        user => 'all',
+    },
     parameters => {
         additionalProperties => 0,
         properties => {
-- 
2.47.3



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to