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)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 704F760A91 for ; Thu, 10 Sep 2020 10:28:51 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 5CDAA19CBE for ; Thu, 10 Sep 2020 10:28:21 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id E580919CB4 for ; Thu, 10 Sep 2020 10:28:20 +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 AE03B44AE7 for ; Thu, 10 Sep 2020 10:28:20 +0200 (CEST) To: =?UTF-8?Q?Fabian_Gr=c3=bcnbichler?= , PVE development discussion , Tim Marx References: <20200706124544.2126341-1-t.marx@proxmox.com> <3da92568-0886-a522-fbd5-d28afe0f8e71@proxmox.com> <1599724494.q0shm5qvme.astroid@nora.none> <008ff748-78d4-ec63-9680-e6129cf7993d@proxmox.com> <1599726085.e9262tw99c.astroid@nora.none> From: Thomas Lamprecht Message-ID: <2c0f8aad-7674-971d-775e-53543336ac6f@proxmox.com> Date: Thu, 10 Sep 2020 10:28:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Thunderbird/81.0 MIME-Version: 1.0 In-Reply-To: <1599726085.e9262tw99c.astroid@nora.none> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 1.588 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -3.576 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH v3 access-control] add ui capabilities endpoint 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: Thu, 10 Sep 2020 08:28:51 -0000 On 10.09.20 10:23, Fabian Gr=C3=BCnbichler wrote: > On September 10, 2020 10:19 am, Thomas Lamprecht wrote: >> On 10.09.20 10:00, Fabian Gr=C3=BCnbichler wrote: >>> TL;DR: iff we really need this, then I'd put it in a separate API cal= l. >> We could also just do the "cap heuristic calculation" in the frontend,= using >> the full permissions, and fill the Cap object with it. >> This avoids a new api call or new multiplexer switch for an existing o= ne but >> does not needs to restructure the whole UI cap control, yet. >=20 > I think I'd prefer this, should be straight-forward to port from Perl t= o=20 > JS. >=20 A great, a volunteer to do so ;-)