[pve-devel] [PATCH access-control 1/1] fix #3402: add Pool.Audit permission
Lorenz Stechauner
l.stechauner at proxmox.com
Thu Apr 29 11:48:53 CEST 2021
Signed-off-by: Lorenz Stechauner <l.stechauner at proxmox.com>
---
PVE/AccessControl.pm | 8 ++++++--
README | 1 +
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm
index f7d4e78..888875e 100644
--- a/PVE/AccessControl.pm
+++ b/PVE/AccessControl.pm
@@ -819,8 +819,12 @@ my $privgroups = {
admin => [
'Pool.Allocate', # create/delete pools
],
- user => [],
- audit => [],
+ user => [
+ 'Pool.Audit',
+ ],
+ audit => [
+ 'Pool.Audit',
+ ],
},
};
diff --git a/README b/README
index 33643a6..698b7a8 100644
--- a/README
+++ b/README
@@ -96,6 +96,7 @@ privileges:
VM.Config.Options: modify any other VM configuration
Pool.Allocate: create/remove/modify a pool.
+ Pool.Audit: view/browse pool
Datastore.Allocate: create/remove/modify a data store.
Datastore.AllocateSpace: allocate space on a datastore
--
2.20.1
More information about the pve-devel
mailing list