mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-06-11 00:27:56 +00:00
compute_api_permissions: a storage has also permissions
Fixes a problem where a non root@pam system administrator does not
sees the 'Permissions' tab for a storage in our WebUI.
Fixes commit a2c18811d3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f4e7fc7bab
commit
f584808972
@ -140,7 +140,7 @@ my $compute_api_permission = sub {
|
||||
my $priv_re_map = {
|
||||
vms => qr/VM\.|Permissions\.Modify/,
|
||||
access => qr/(User|Group)\.|Permissions\.Modify/,
|
||||
storage => qr/Datastore\./,
|
||||
storage => qr/Datastore\.|Permissions\.Modify/,
|
||||
nodes => qr/Sys\.|Permissions\.Modify/,
|
||||
dc => qr/Sys\.Audit/,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user