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 F120F1FF135 for ; Thu, 02 Jul 2026 12:27:42 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 77EEB213CC; Thu, 02 Jul 2026 12:27:42 +0200 (CEST) Message-ID: <33c5a6da-cbb2-4ea6-81d1-451a023224b3@proxmox.com> Date: Thu, 2 Jul 2026 12:27:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: applied: [PATCH datacenter-manager v2 1/3] server: api: access: add endpoints for configuring pdm and pam realms To: Shannon Sterz , pdm-devel@lists.proxmox.com References: <20260625125300.249604-1-s.sterz@proxmox.com> <20260625125300.249604-2-s.sterz@proxmox.com> Content-Language: en-US From: Thomas Lamprecht In-Reply-To: <20260625125300.249604-2-s.sterz@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1782988051689 X-SPAM-LEVEL: Spam detection results: 0 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: ZBL5BPVTXK574NRDUXSBX5TLGSEFF4SN X-Message-ID-Hash: ZBL5BPVTXK574NRDUXSBX5TLGSEFF4SN X-MailFrom: t.lamprecht@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: Am 25.06.26 um 14:53 schrieb Shannon Sterz: > this allows users to set those realms as default realms and also > allows editing their comments. > > also makes sure that the pam and pdm realms exist in the domains.cfg > > Signed-off-by: Shannon Sterz > --- > lib/pdm-api-types/src/lib.rs | 96 ++++++++++++++ > lib/pdm-config/src/domains.rs | 37 +++++- > server/src/api/access/domains.rs | 16 +-- > server/src/api/config/access/mod.rs | 4 + > server/src/api/config/access/pam.rs | 119 ++++++++++++++++++ > server/src/api/config/access/pdm.rs | 119 ++++++++++++++++++ > .../bin/proxmox-datacenter-privileged-api.rs | 1 + > 7 files changed, 375 insertions(+), 17 deletions(-) > create mode 100644 server/src/api/config/access/pam.rs > create mode 100644 server/src/api/config/access/pdm.rs > > applied this one already, thanks!