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 B1EE41FF168 for ; Tue, 26 Nov 2024 16:13:30 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6CE575385; Tue, 26 Nov 2024 16:13:31 +0100 (CET) Date: Tue, 26 Nov 2024 16:12:55 +0100 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20241126142840.136533-1-h.laimer@proxmox.com> In-Reply-To: <20241126142840.136533-1-h.laimer@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1732633903.fq4vqr0l7k.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.103 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 POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes 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. [datastore.rs, proxmox.com] Subject: Re: [pbs-devel] [PATCH proxmox-backup v2] api: add Sys.Modify on /system/disks as permission to endpoints handling removable datastores 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: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" dHdvIHNtYWxsIChlYXNpbHkgZG9uZSBhcyBmb2xsb3ctdXApIG5pdHMgYmVsb3csIG90aGVyd2lz ZToKClJldmlld2VkLWJ5OiBGYWJpYW4gR3LDvG5iaWNobGVyIDxmLmdydWVuYmljaGxlckBwcm94 bW94LmNvbT4KCk9uIE5vdmVtYmVyIDI2LCAyMDI0IDM6MjggcG0sIEhhbm5lcyBMYWltZXIgd3Jv dGU6Cj4gU3VnZ2VzdGVkLWJ5OiBGYWJpYW4gR3LDvG5iaWNobGVyIDxmLmdydWVuYmljaGxlckBw cm94bW94LmNvbT4KPiBTaWduZWQtb2ZmLWJ5OiBIYW5uZXMgTGFpbWVyIDxoLmxhaW1lckBwcm94 bW94LmNvbT4KPiAtLS0KPiBjaGFuZ2VzIHNpbmNlIHYxOgo+ICAqIGNvbmZpZzogY3JlYXRlL2Rl bGV0ZTogb25seSBjaGVjayBmb3IgU3lzLk1vZGlmeSBvbiAvc3lzdGVtL2Rpc2tzIGlmCj4gICAg IHJlbW92YWJsZQo+IAo+ICBzcmMvYXBpMi9hZG1pbi9kYXRhc3RvcmUucnMgIHwgMTIgKysrKysr KysrLS0tCj4gIHNyYy9hcGkyL2NvbmZpZy9kYXRhc3RvcmUucnMgfCAxMyArKysrKysrKysrKyst Cj4gIDIgZmlsZXMgY2hhbmdlZCwgMjEgaW5zZXJ0aW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veG1veC5jb20KPiBodHRwczovL2xpc3RzLnByb3htb3gu Y29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwKPiAKCgpfX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwYnMtZGV2ZWwgbWFpbGluZyBsaXN0 CnBicy1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xpc3RzLnByb3htb3guY29tL2Nn aS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwK