[pdm-devel] [PATCH datacenter-manager v2 5/6] ui: add a panel to allow handling realms
Shannon Sterz
s.sterz at proxmox.com
Mon Sep 22 17:05:18 CEST 2025
this allows adding, removing and editing new realms. specifically ldap
and active directory realms.
Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
---
ui/src/configuration/mod.rs | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/ui/src/configuration/mod.rs b/ui/src/configuration/mod.rs
index 2a8b991..6ddc5f2 100644
--- a/ui/src/configuration/mod.rs
+++ b/ui/src/configuration/mod.rs
@@ -7,7 +7,7 @@ use pwt::widget::{Container, MiniScrollMode, Panel, TabBarItem, TabPanel};
use proxmox_yew_comp::configuration::TimePanel;
use proxmox_yew_comp::configuration::{DnsPanel, NetworkView};
use proxmox_yew_comp::tfa::TfaView;
-use proxmox_yew_comp::{AclEdit, AclView, UserPanel};
+use proxmox_yew_comp::{AclEdit, AclView, AuthView, UserPanel};
mod permission_path_selector;
mod webauthn;
@@ -92,6 +92,18 @@ pub fn access_control() -> Html {
))
.into()
},
+ )
+ .with_item_builder(
+ TabBarItem::new()
+ .key("realms")
+ .icon_class("fa fa-address-book-o")
+ .label(tr!("Realms")),
+ |_| {
+ AuthView::new()
+ .ldap_base_url("/config/access/ldap")
+ .ad_base_url("/config/access/ad")
+ .into()
+ },
);
NavigationContainer::new().with_child(panel).into()
--
2.47.3
More information about the pdm-devel
mailing list