[pve-devel] [PATCH 01/13] add template_create

Dietmar Maurer dietmar at proxmox.com
Fri Feb 15 07:48:17 CET 2013


> > +    permissions => {
> > +	check => ['perm', '/vms/{vmid}', [ 'VM.Template' ]],
> > +    },
> 
> What is 'VM.Template'? I guess we need to have the same permissions as on
> create instead.
> 
> If the user can create/delete the VM and all Storage volumes, he is also
> allowed to create the template.

Oh, just noticed that this is basically an update, so we need to do the same checks we do for updates.




More information about the pve-devel mailing list