[pdm-devel] [PATCH datacenter-manager] ui: permission path selector: add `/view` as a default path

Shannon Sterz s.sterz at proxmox.com
Tue Dec 2 13:42:25 CET 2025


in the future we should pre-populate this properly with a list of
available views too.

Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
---

a bit of a stop-gap, but better than nothing imo.

 ui/src/configuration/permission_path_selector.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/configuration/permission_path_selector.rs b/ui/src/configuration/permission_path_selector.rs
index 730905d..9da8bc4 100644
--- a/ui/src/configuration/permission_path_selector.rs
+++ b/ui/src/configuration/permission_path_selector.rs
@@ -25,6 +25,7 @@ static PREDEFINED_PATHS: &[&str] = &[
     "/system/status",
     "/system/tasks",
     "/system/time",
+    "/view"
 ];

 #[widget(comp=PdmPermissionPathSelector, @input, @element)]
--
2.47.3





More information about the pdm-devel mailing list