mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-08-05 13:23:21 +00:00
add VM.Copy priviledge
And a new role called PVETemplateUser
This commit is contained in:
parent
b78ce7c252
commit
ff4b223563
@ -364,6 +364,7 @@ my $privgroups = {
|
||||
'VM.Config.HWType',
|
||||
'VM.Config.Options', # covers all other things
|
||||
'VM.Allocate',
|
||||
'VM.Copy',
|
||||
'VM.Migrate',
|
||||
'VM.Monitor',
|
||||
'VM.Snapshot',
|
||||
@ -457,6 +458,8 @@ sub create_roles {
|
||||
$special_roles->{"PVEAuditor"}->{$p} = 1;
|
||||
}
|
||||
}
|
||||
|
||||
$special_roles->{"PVETemplateUser"} = { 'VM.Copy' => 1, 'VM.Audit' => 1 };
|
||||
};
|
||||
|
||||
create_roles();
|
||||
|
Loading…
Reference in New Issue
Block a user