]> git.proxmox.com Git - pmg-api.git/commitdiff
remove role quser from spamusers API
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 24 Aug 2017 05:22:53 +0000 (07:22 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 24 Aug 2017 05:22:53 +0000 (07:22 +0200)
PMG/API2/Quarantine.pm

index 1616bda2224e06456b736106b2a6838e9cdaa6bd..feedbff1c8a94f5d3d1976c11e98f4e96381b27e 100644 (file)
@@ -369,7 +369,7 @@ __PACKAGE__->register_method ({
     name => 'spamusers',
     path => 'spamusers',
     method => 'GET',
-    permissions => { check => [ 'admin', 'qmanager', 'audit', 'quser'] },
+    permissions => { check => [ 'admin', 'qmanager', 'audit'] },
     description => "Get a list of receivers of spam in the given timespan (Default the last 24 hours).",
     parameters => {
        additionalProperties => 0,