]> git.proxmox.com Git - proxmox-backup.git/commit - src/api2/admin/datastore.rs
api: datastore status: adhere to NS privs for non-owner
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 May 2022 10:32:27 +0000 (12:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 May 2022 10:32:35 +0000 (12:32 +0200)
commitf12f408e91e4911bd1dc20654c4ba82bfa5e1f51
treef2b84d22d4d8baf90fd7f5b954d9fcb7b2bd732d
parent71cad8cac090751392e4ba4770665606f6925036
api: datastore status: adhere to NS privs for non-owner

Not only check all owned backup groups, but also all that an auth_id
has DATASTORE_AUDIT or DATASTORE_READ on the whole namespace.

best viewed with whitespace change ignore (-w)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/admin/datastore.rs