]> git.proxmox.com Git - pve-manager.git/commit
api: replication: allow users to enumerate accessible replication jobs
authorLukas Wagner <l.wagner@proxmox.com>
Fri, 1 Dec 2023 13:24:09 +0000 (14:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 4 Dec 2023 15:53:38 +0000 (16:53 +0100)
commit4f0d58394fa9c96af17298a52488a84bf72e173d
tree5dd841cc1126688fcd7da11a12e2692905158ade
parentac7127388f1a0d8b1a254a618a53f71f15cb2125
api: replication: allow users to enumerate accessible replication jobs

Previously, the /cluster/replication API handler would fail completely
with a HTTP 403 if a user does have VM.Audit permissions for
a single VM/CT. That was due to the 'noerr' parameter not set for
$rpcenv->check()

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/API2/ReplicationConfig.pm