]> git.proxmox.com Git - pve-manager.git/commitdiff
API: ceph: fix typo in permissions
authorMatthias Heiserer <m.heiserer@proxmox.com>
Fri, 13 Jan 2023 10:56:28 +0000 (11:56 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 13 Jan 2023 11:39:40 +0000 (12:39 +0100)
With Sys.Audit being spelled wrong, this call always failed

Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
PVE/API2/Ceph.pm

index 55220324884c247e649dff6854e9a2063bb2b618..3a73872dc906c1fc894b866c50ac8ebef3eb75c7 100644 (file)
@@ -652,7 +652,7 @@ __PACKAGE__->register_method ({
     proxyto => 'node',
     protected => 1,
     permissions => {
-       check => ['perm', '/', [ 'Sys.audit' ]],
+       check => ['perm', '/', [ 'Sys.Audit' ]],
     },
     parameters => {
        additionalProperties => 0,