pre-declare permissions before user exists (openID integration)?

georgesdlh

New Member
Jan 23, 2024
3
0
1
Hi

I configured openID configuration with 'autocreate users' and I would like to give permissions to users which will connect some time in the future.
But before that, these users don't exist. So I can't give them permissions.
Except if I put entries manually into /etc/pve/user.cfg

That works. I create an acl entry matching an non-existing user.
And when that user connects the first time and the user is created, then the user has immediately the correct permissions.
Question is now if that's a good way doing this.