From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id ED94D1FF161 for ; Tue, 5 Nov 2024 09:30:35 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C103F1B6B7; Tue, 5 Nov 2024 09:30:43 +0100 (CET) From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= To: pve-devel@lists.proxmox.com Date: Tue, 5 Nov 2024 09:30:38 +0100 Message-Id: <20241105083039.150454-2-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241105083039.150454-1-f.gruenbichler@proxmox.com> References: <20241105083039.150454-1-f.gruenbichler@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.047 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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. [accesscontrol.pm] Subject: [pve-devel] [PATCH access-control 1/2] api: permissions: allow users to view their own permissions 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: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" ZXZlbiB3aGVuIHNwZWNpZnlpbmcgYW4gZXhwbGljaXQgdXNlcmlkIG1hdGNoaW5nIHRoZWlyIG93 bi4KClNpZ25lZC1vZmYtYnk6IEZhYmlhbiBHcsO8bmJpY2hsZXIgPGYuZ3J1ZW5iaWNobGVyQHBy b3htb3guY29tPgotLS0KIHNyYy9QVkUvQVBJMi9BY2Nlc3NDb250cm9sLnBtIHwgOCArKysrLS0t LQogMSBmaWxlIGNoYW5nZWQsIDQgaW5zZXJ0aW9ucygrKSwgNCBkZWxldGlvbnMoLSkKCmRpZmYg LS1naXQgYS9zcmMvUFZFL0FQSTIvQWNjZXNzQ29udHJvbC5wbSBiL3NyYy9QVkUvQVBJMi9BY2Nl c3NDb250cm9sLnBtCmluZGV4IGM1NWE3YjMuLjE1N2E1ZWUgMTAwNjQ0Ci0tLSBhL3NyYy9QVkUv QVBJMi9BY2Nlc3NDb250cm9sLnBtCisrKyBiL3NyYy9QVkUvQVBJMi9BY2Nlc3NDb250cm9sLnBt CkBAIC00ODYsMTQgKzQ4NiwxNCBAQCBfX1BBQ0tBR0VfXy0+cmVnaXN0ZXJfbWV0aG9kKHsKIAlt eSAoJHBhcmFtKSA9IEBfOwogCiAJbXkgJHJwY2VudiA9IFBWRTo6UlBDRW52aXJvbm1lbnQ6Omdl dCgpOworCW15ICRhdXRoaWQgPSAkcnBjZW52LT5nZXRfdXNlcigpOwogCiAJbXkgJHVzZXJpZCA9 ICRwYXJhbS0+e3VzZXJpZH07Ci0JaWYgKGRlZmluZWQoJHVzZXJpZCkpIHsKKwkkdXNlcmlkID0g JGF1d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