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 4FF4C1FF13C for ; Thu, 25 Jun 2026 14:53:12 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id ACC0E10FED; Thu, 25 Jun 2026 14:53:11 +0200 (CEST) From: Shannon Sterz To: pdm-devel@lists.proxmox.com Subject: [PATCH datacenter-manager/yew-comp v2 0/3] Allow Editing of Default Realms in PDM Date: Thu, 25 Jun 2026 14:52:57 +0200 Message-ID: <20260625125300.249604-1-s.sterz@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-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1782391979563 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.107 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 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. [proxmox-datacenter-privileged-api.rs,proxmox.com,mod.rs,pdm.rs,pam.rs,lib.rs,domains.rs] Message-ID-Hash: H46GHYWR7QAWF5B255IYXDIA6YZ7TZ5V X-Message-ID-Hash: H46GHYWR7QAWF5B255IYXDIA6YZ7TZ5V X-MailFrom: s.sterz@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: the goal of this series is to allow editing of the two default realms (pam & pdm) in PDM. currently users can neither change the comment nor set these realms as the default login realm. this series fixes that and also cleans up some comments for proxmox-yew-comp. Changelog --------- * v1: https://lore.proxmox.com/pdm-devel/20260618102126.177217-1-s.sterz@proxmox.com/ - changes since v1 (thanks @ Shan Shaji): + rebased on current master + remove leading `::` when importing serde in the pdm realm api endpoints + remove trailing `/` in the auth_view component for the default value of `edit_default_realms_base_url` datacenter-manager: Shannon Sterz (1): server: api: access: add endpoints for configuring pdm and pam realms 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 yew-comp: Shannon Sterz (2): auth_view: enable editing of default realms auth_view: clarify the documentation of pre-existing properties src/auth_view.rs | 61 ++++++++++++++++++++++++++++++++++++++++++------ src/utils/mod.rs | 4 ++-- 2 files changed, 56 insertions(+), 9 deletions(-) Summary over all repositories: 9 files changed, 431 insertions(+), 26 deletions(-) -- Generated by murpp 0.12.0