* [pve-devel] [PATCH pve-manager] api: cluster: add permission description to log endpoint
@ 2025-10-03 10:38 Hannes Laimer
2025-10-03 12:58 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Hannes Laimer @ 2025-10-03 10:38 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
---
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
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH pve-manager] api: cluster: add permission description to log endpoint
2025-10-03 10:38 [pve-devel] [PATCH pve-manager] api: cluster: add permission description to log endpoint Hannes Laimer
@ 2025-10-03 12:58 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-10-03 12:58 UTC (permalink / raw)
To: pve-devel, Hannes Laimer
On Fri, 03 Oct 2025 12:38:12 +0200, Hannes Laimer wrote:
>
Applied, thanks!
[1/1] api: cluster: add permission description to log endpoint
commit: d38659c986310820308c80f55c293e8d7c02f652
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-03 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-03 10:38 [pve-devel] [PATCH pve-manager] api: cluster: add permission description to log endpoint Hannes Laimer
2025-10-03 12:58 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox