From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id E8BA2C6F0 for ; Mon, 14 Aug 2023 12:37:01 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D3A4E2047 for ; Mon, 14 Aug 2023 12:37:01 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 14 Aug 2023 12:36:58 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 16A1F4737D for ; Mon, 14 Aug 2023 12:36:58 +0200 (CEST) Date: Mon, 14 Aug 2023 12:36:57 +0200 From: Wolfgang Bumiller To: Philipp Hufnagl Cc: pve-devel@lists.proxmox.com, Dominik Csapak Message-ID: References: <20230810100902.714456-1-p.hufnagl@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810100902.714456-1-p.hufnagl@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.105 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com, pool.pm] Subject: [pve-devel] applied: [PATCH manager v4 0/2] fix #474: allow transfer from container/vms X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2023 10:37:02 -0000 applied, thanks @Dominik: does extjs have an 'enableFn' for rows in a grid? IMO we should either disable the ones with pools when the transfer checkbox is not checked, or hide them (but when hiding them after already checking them... it's weird) Or disable the 'Add' button if a VM with a pool is checked? On Thu, Aug 10, 2023 at 12:09:00PM +0200, Philipp Hufnagl wrote: > When a member of 2 pools wants to transfer a > vm/container to an other pool they can not do that. The vm/container would > have first to be removed form the current pool resulting in a loss of > privileges of the pool member for this vm/contianer. This feature introduces > a way to transfer a vm between pools, guarded by a checkbox from accidental > transfers > > changes to v4: > * check for allocate permissions of the originating pool > > changes to v3: > * fix subject typo > * at version log > > changes to v2: > * split patch in front and backend > > Philipp Hufnagl (2): > fix #474: api: allow transfer from container/vms > fix #474: ui: allow transfer from container/vms > > PVE/API2/Pool.pm | 16 ++++++++++++++-- > www/manager6/grid/PoolMembers.js | 17 ++++++++++++++--- > 2 files changed, 28 insertions(+), 5 deletions(-) > > -- > 2.39.2 > > > > _______________________________________________ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > >