[pve-devel] [PATCH access-control] fix missing /access/realm/<realm> paths in check_path
Dominik Csapak
d.csapak at proxmox.com
Wed Jun 16 15:50:27 CEST 2021
they were overlooked
see: https://forum.proxmox.com/threads/are-group-acls-broken-in-v6-4.91000/
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/PVE/AccessControl.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/AccessControl.pm b/src/PVE/AccessControl.pm
index 888875e..9a8d1fb 100644
--- a/src/PVE/AccessControl.pm
+++ b/src/PVE/AccessControl.pm
@@ -940,6 +940,7 @@ sub check_path {
|/access
|/access/groups
|/access/realm
+ |/access/realm/[[:alnum:]\.\-\_]+
|/nodes
|/nodes/[[:alnum:]\.\-\_]+
|/pool
--
2.20.1
More information about the pve-devel
mailing list