]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/AccessControl.pm
auth: pull username REs into variables
[pve-access-control.git] / PVE / AccessControl.pm
index 823d1c58c1d35f1e3a57457c47d45674627fe757..e0cb75d5f4abaf063a6eb339709952ef0c5d7d23 100644 (file)
@@ -1221,7 +1221,7 @@ sub roles {
     my ($cfg, $user, $path) = @_;
 
     # NOTE: we do not consider pools here.
-    # You need to use $rpcenv->roles() instead if you want that.
+    # Use $rpcenv->permission() for any actual permission checks!
 
     return 'Administrator' if $user eq 'root@pam'; # root can do anything