[pve-devel] [PATCH manager] API: ceph: fix typo in permissions

Matthias Heiserer m.heiserer at proxmox.com
Fri Jan 13 11:56:28 CET 2023


With Sys.Audit being spelled wrong, this call always failed

Signed-off-by: Matthias Heiserer <m.heiserer at proxmox.com>
---
 PVE/API2/Ceph.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm
index 55220324..3a73872d 100644
--- a/PVE/API2/Ceph.pm
+++ b/PVE/API2/Ceph.pm
@@ -652,7 +652,7 @@ __PACKAGE__->register_method ({
     proxyto => 'node',
     protected => 1,
     permissions => {
-	check => ['perm', '/', [ 'Sys.audit' ]],
+	check => ['perm', '/', [ 'Sys.Audit' ]],
     },
     parameters => {
 	additionalProperties => 0,
-- 
2.30.2






More information about the pve-devel mailing list