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 53D0E77E56 for ; Thu, 29 Apr 2021 11:49:29 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 476791948F for ; Thu, 29 Apr 2021 11:48:59 +0200 (CEST) Received: from dana.proxmox.com (unknown [94.136.29.99]) by firstgate.proxmox.com (Proxmox) with ESMTP id D351E19486 for ; Thu, 29 Apr 2021 11:48:58 +0200 (CEST) Received: by dana.proxmox.com (Postfix, from userid 10037) id C46B91C33E8; Thu, 29 Apr 2021 11:48:58 +0200 (CEST) From: Lorenz Stechauner To: pve-devel@lists.proxmox.com Date: Thu, 29 Apr 2021 11:48:53 +0200 Message-Id: <20210429094853.51768-1-l.stechauner@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210429094812.51587-1-l.stechauner@proxmox.com> References: <20210429094812.51587-1-l.stechauner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 2 AWL 0.100 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods NO_DNS_FOR_FROM 0.379 Envelope sender has no MX or A DNS records RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an 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. [accesscontrol.pm] Subject: [pve-devel] [PATCH access-control 1/1] fix #3402: add Pool.Audit permission 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, 29 Apr 2021 09:49:29 -0000 Signed-off-by: Lorenz Stechauner --- PVE/AccessControl.pm | 8 ++++++-- README | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index f7d4e78..888875e 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -819,8 +819,12 @@ my $privgroups = { admin => [ 'Pool.Allocate', # create/delete pools ], - user => [], - audit => [], + user => [ + 'Pool.Audit', + ], + audit => [ + 'Pool.Audit', + ], }, }; diff --git a/README b/README index 33643a6..698b7a8 100644 --- a/README +++ b/README @@ -96,6 +96,7 @@ privileges: VM.Config.Options: modify any other VM configuration Pool.Allocate: create/remove/modify a pool. + Pool.Audit: view/browse pool Datastore.Allocate: create/remove/modify a data store. Datastore.AllocateSpace: allocate space on a datastore -- 2.20.1