to check the previous commit's fix.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
check_roles('max@pve!token', '/vms/200', 'storage_manager');
check_roles('max@pve!token2', '/vms/200', 'customer');
+# check intersection -> token has Administrator, but user only vm_admin
+check_permission('max@pve!token2', '/vms/300', 'Permissions.Modify,VM.Allocate,VM.Audit,VM.Console');
+
print "all tests passed\n";
exit (0);
acl:1:/vms/200:carol@pam!token:vm_admin
acl:1:/vms/200:max@pve!token:storage_manager
acl:1:/vms/200:max@pve!token2:customer
+
+acl:1:/vms/300:max@pve!token2:Administrator