From 136f5724be7166a66bb15ce55ad20453f0011438 Mon Sep 17 00:00:00 2001 From: Matthias Heiserer Date: Fri, 13 Jan 2023 11:56:28 +0100 Subject: [PATCH] API: ceph: fix typo in permissions With Sys.Audit being spelled wrong, this call always failed Signed-off-by: Matthias Heiserer --- 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.39.5