mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-10-04 15:48:58 +00:00
rpcenv: api permission heuristic: query Sys.Modify for root ACL-path
Ensures that we can use this in the capabilities heuristic check in the web UI Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
3ef602fe95
commit
c27eb24526
@ -186,7 +186,7 @@ sub compute_api_permission {
|
||||
storage => qr/Datastore\.|Permissions\.Modify/,
|
||||
nodes => qr/Sys\.|Permissions\.Modify/,
|
||||
sdn => qr/SDN\.|Permissions\.Modify/,
|
||||
dc => qr/Sys\.Audit|SDN\./,
|
||||
dc => qr/Sys\.Audit|Sys\.Modify|SDN\./,
|
||||
};
|
||||
map { $res->{$_} = {} } keys %$priv_re_map;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user