]> git.proxmox.com Git - proxmox-backup.git/commit
fix #2978: allow non-root to view datastore usage
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 3 Sep 2020 12:49:22 +0000 (14:49 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Sep 2020 04:18:20 +0000 (06:18 +0200)
commitecd55041a2dbfbd12b57d3017d2e1948b8283e7e
treed5ba11acf127ec37f0e7b0dc9943a599e187ef53
parente7e8e6d5f77744e47e24eadde64a879179b1e369
fix #2978: allow non-root to view datastore usage

for datastores where the requesting user has read or write permissions,
since the API method itself filters by that already. this is the same
permission setting and filtering that the datastore list API endpoint
does.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/status.rs