projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8737ff3
)
check_path : add sdn zone path
author
Alexandre Derumier
<aderumier@odiso.com>
Wed, 9 Jun 2021 04:37:30 +0000
(06:37 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Thu, 17 Jun 2021 11:15:36 +0000
(13:15 +0200)
This was missing in commit20c60513b2a6b2d7c7aae0dcc0391889b9cb7ecf,
so user can't assign permisson on a zone currently
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/AccessControl.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/AccessControl.pm
b/src/PVE/AccessControl.pm
index 9619c7dcc67cecdd3854ad48d06fd4d7434e22bf..447f96091e98ef568e8e8d9a791ca0891807f676 100644
(file)
--- a/
src/PVE/AccessControl.pm
+++ b/
src/PVE/AccessControl.pm
@@
-947,6
+947,7
@@
sub check_path {
|/pool
|/pool/[[:alnum:]\.\-\_]+
|/sdn
+ |/sdn/zones/[[:alnum:]\.\-\_]+
|/storage
|/storage/[[:alnum:]\.\-\_]+
|/vms