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 41BB064470 for ; Fri, 30 Oct 2020 09:49:10 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2FA791033E for ; Fri, 30 Oct 2020 09:48:40 +0100 (CET) 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 B966510334 for ; Fri, 30 Oct 2020 09:48:39 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 7DEB545C2C for ; Fri, 30 Oct 2020 09:48:39 +0100 (CET) To: =?UTF-8?Q?Fabian_Gr=c3=bcnbichler?= , Proxmox Backup Server development discussion References: <20201028113632.814586-1-f.gruenbichler@proxmox.com> <1604044834.4pcbf9rinm.astroid@nora.none> From: Thomas Lamprecht Message-ID: Date: Fri, 30 Oct 2020 09:48:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Thunderbird/83.0 MIME-Version: 1.0 In-Reply-To: <1604044834.4pcbf9rinm.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 0.006 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 -0.261 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: [pbs-devel] [PATCH proxmox-backup 00/16] API tokens X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2020 08:49:10 -0000 On 30.10.20 09:03, Fabian Gr=C3=BCnbichler wrote: > On October 29, 2020 8:50 pm, Thomas Lamprecht wrote: >> Also, I just may not remember if we discussed this, but why is there n= o >> "inherit the user permission" mode like PVE has? >=20 > because with the ACL changes (allowing a user to define arbitrary ACLs = > for their tokens) it's not really needed. I can just give Admin on '/' = > with propagation for the same effect. hmm, true, but then I'd hint to the user that a newly created token has no permissions. > and also because I think it's=20 > better to make users think about which permissions to give a certain=20 > token (e.g., most tokens will probably just have Datastore.Backup on on= e=20 > datastore, which is something I'd like to put somewhere on the Datastor= e=20 > GUI as a two-step 'Create client token' thing) then nudging them into=20 > 'just tick this and everything works (but is not much better than just = > storing your username + password everywhere)'. >=20 btw. can we enter a token in Proxmox VE storage add already?