From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 6D80E1FF13A for ; Wed, 08 Jul 2026 15:37:10 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 18D142147F; Wed, 08 Jul 2026 15:37:08 +0200 (CEST) From: Dominik Csapak To: pdm-devel@lists.proxmox.com Subject: [RFC/PATCH datacenter-manager/proxmox 0/2] check privilege paths during compilation Date: Wed, 8 Jul 2026 15:36:22 +0200 Message-ID: <20260708133630.1807997-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.057 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 2SZHQQAWNQHXXDBFXZCKOVQSQHNQVOVS X-Message-ID-Hash: 2SZHQQAWNQHXXDBFXZCKOVQSQHNQVOVS X-MailFrom: d.csapak@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This adds a check in proxmox-router to check the used parameter interpolations in the privilege paths of api calls for existence. Aside from the two use sites that fabian[0] already sent a patch for it found another wrong usage of this (patch 2/2). 0: https://lore.proxmox.com/pdm-devel/e7fd6763-4c68-4669-a32a-c34c9ad08cbe@proxmox.com/T/#t proxmox: Dominik Csapak (1): router: compile time check privilege path parameters for existence proxmox-router/src/router.rs | 209 ++++++++++++++++++++++++++++++++++- 1 file changed, 208 insertions(+), 1 deletion(-) proxmox-datacenter-manager: Dominik Csapak (1): server: api: pve firewall: remove 'remote' parameter from overall status server/src/api/pve/firewall.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Summary over all repositories: 2 files changed, 209 insertions(+), 2 deletions(-) -- Generated by murpp 0.11.0