]> git.proxmox.com Git - pve-access-control.git/commit
rpcenv: skip undef propagation flag in more places
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 21 Jan 2022 10:52:08 +0000 (11:52 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 21 Jan 2022 13:21:04 +0000 (14:21 +0100)
commit0786c1e5df0ad7ebe6caa1e8892f410da72a05f2
tree7f57c744f82f93ddad89b284efeef5046e18c382
parent1bd10ecfa9c36327900b0b69b011002b52e43668
rpcenv: skip undef propagation flag in more places

these are just cosmetic fixes/safeguards against future bugs -
compute_api_permissions is used to set the 'cap' object to hide parts of
the GUI that are not usable without the corresponding privs in the
backend anyway, and get_effective_permissions is only used to return the
permission tree without a specific path query.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/RPCEnvironment.pm