]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/API2/Role.pm
remove_storage_access: cleanup of access permissions for removed storage
[pve-access-control.git] / PVE / API2 / Role.pm
index 509938c00fc4e6cc9bcee4e31f12ba44ace741ea..6392e133a2bd673dcc96072c11f0a8ded689073f 100644 (file)
@@ -19,7 +19,7 @@ __PACKAGE__->register_method ({
     method => 'GET',
     description => "Role index.",
     permissions => { 
-       check => ['perm', '/access', ['Sys.Audit']],
+       user => 'all',
     },
     parameters => {
        additionalProperties => 0,
@@ -141,7 +141,7 @@ __PACKAGE__->register_method ({
     path => '{roleid}', 
     method => 'GET',
     permissions => { 
-       check => ['perm', '/access', ['Sys.Audit']],
+       user => 'all',
     },
     description => "Get role configuration.",
     parameters => {