[pve-devel] [PATCH] remove vm permissions after vm destroy
Alen Grizonic
a.grizonic at proxmox.com
Wed Aug 12 16:49:24 CEST 2015
ok. let me think about it.
On 08/12/2015 04:41 PM, Dietmar Maurer wrote:
> I just wonder if we can avoid multiple locks/writes on user.cfg file, by
> adding an additional function which does both things at once?
>
>
>> @@ -1204,6 +1193,8 @@ __PACKAGE__->register_method({
>> PVE::QemuServer::vm_destroy($storecfg, $vmid, $skiplock);
>>
>> PVE::AccessControl::remove_vm_from_pool($vmid);
>> +
>> + PVE::AccessControl::remove_vm_permissions($vmid);
More information about the pve-devel
mailing list