X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=PVE%2FAPI2%2FRole.pm;fp=PVE%2FAPI2%2FRole.pm;h=6392e133a2bd673dcc96072c11f0a8ded689073f;hp=509938c00fc4e6cc9bcee4e31f12ba44ace741ea;hb=82b63965ebbeb41d16a76051018992144eda0a6a;hpb=8de1fb5ae30b7365bee1779fc2db930395b3c164 diff --git a/PVE/API2/Role.pm b/PVE/API2/Role.pm index 509938c..6392e13 100644 --- a/PVE/API2/Role.pm +++ b/PVE/API2/Role.pm @@ -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 => {