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 2F98B61C6C for ; Thu, 22 Oct 2020 13:36:08 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1C0E61FA7A for ; Thu, 22 Oct 2020 13:35:38 +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) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 5D6E01FA64 for ; Thu, 22 Oct 2020 13:35:37 +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 29CEE45ED4 for ; Thu, 22 Oct 2020 13:35:37 +0200 (CEST) Date: Thu, 22 Oct 2020 13:35:35 +0200 From: Oguz Bektas To: Proxmox Backup Server development discussion Message-ID: <20201022113535.GB14703@gaia.proxmox.com> References: <20201021140159.2250193-1-o.bektas@proxmox.com> <1603353403.2oxwp8ptb8.astroid@nora.none> <20201022091729.GA14703@gaia.proxmox.com> <1603364357.xcuh6abcww.astroid@nora.none> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1603364357.xcuh6abcww.astroid@nora.none> User-Agent: Mutt/1.10.1 (2018-07-13) X-SPAM-LEVEL: Spam detection results: 0 AWL 1.439 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment 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 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] Subject: Re: [pbs-devel] [PATCH proxmox-backup] add datastore info api call 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: Thu, 22 Oct 2020 11:36:08 -0000 On Thu, Oct 22, 2020 at 01:00:48PM +0200, Fabian Grünbichler wrote: > On October 22, 2020 11:17 am, Oguz Bektas wrote: > > hi, > > > > On Thu, Oct 22, 2020 at 10:02:23AM +0200, Fabian Grünbichler wrote: > >> > >> why READ and not AUDIT | BACKUP ? why partial if you only pass a single > >> privilege? > > > > i thought the minimum privilege should be view. one might want to add a > > datastore where only read access is given to them, to be able to restore > > backups from it for example. imposing audit/backup privs would prevent > > this, afaict > > AUDIT is the permission that determines visibility of a datastore, READ > is the permission to read its *contents*. this api call is not related > to reading arbitrary datastore contents, so it should not require that > permission. i see, it's clear now thanks > > > _______________________________________________ > pbs-devel mailing list > pbs-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel