[pve-devel] applied: Re: [PATCH v4 qemu-server 1/1] api2: add check_bridge_access for create/update/clone/restore vm

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Fri Jun 9 10:28:08 CEST 2023

Le vendredi 09 juin 2023 à 09:29 +0200, Thomas Lamprecht a écrit :
> On 09/06/2023 09:14, DERUMIER, Alexandre wrote:
> > Or Maybe, we should simply warn && remove the netX from the restore
> > config ? (I'm thinking about old backup with older non existing
> > bridge anymore or coming from another cluster, where user couldn't
> > have any permissions)
> I think the whole UX of this new check can definitively be improved
> for,
> at least for restore and clone.
> Once we expose nicely overriding also network for the original
> config,
> we can highlight vnets/briges that either do not exist, or the user
> has no access to, already as invalid in the web UI.
> Then the user can override it with one that exists and that they have
> access too in the UI.

Yes, I was thinking about that too. 

I just send a patch to warn/remove the net from restore config , I
think it's a good compromise until the gui is implemented ?


More information about the pve-devel mailing list