How to add a permission for all users?

frederic.giquel

New Member
Feb 14, 2025
1
0
1
Is there a way to add a permission for all users (current or futur) on a specific path?

For example, if I want to add the role PVETemplateUser to VM/template with VMid 1000 for a specific user, I can do:
Bash:
pveum acl modify /vms/1000 -user 'testuser@pve' -role PVETemplateUser

Is it possible to do the same thing for all users (current or futur)?
 
not directly, but you can:
* write a script that loops over the users and add the permission (only users at the time of exectuion gain the permission)
* use groups: add the role to a group, and add the users to that group
 
  • Like
Reactions: LnxBil