[PATCH datacenter-manager 0/3] ui: acl: pre-populate permission path selector

Shan Shaji
2026-03-31T09:57:23Z

vikunja ticket: #858

This series lists specific remotes and views in the permission path selector
which users can use to select and assign specific roles.

### Testing
===========

Remotes: 3
Role: Auditor

/resource/cluster: 3 node cluster
- propogate disabled: The resources list won't be shown.
Shows "user has no access to resource list" error.
- propogate enabled: The resources are visible under the remote specific dashboard.

/resource/Trial: PVE node
- propogate disabled: Resources list won't be shown.
Shows "user has no access to resources list" error.
- propogate enabled: The resources are visible under the remote specific dashboard.

/resource/backup: PBS node
- propogate disabled: RRD data is shown.
- propogate enabled: RRD data and datastore details are shown under the remote
specific dasboard.

Views: 2
Role: Auditor

/view/layout:
- Only the `layout` view and all the widgets added inside the specific view
were visible to the user.
/view
- propagate enabled: Both views are visible to the user.
- propagate disabled: Views are visible under the views in the sidebar but the
resources are not visible when clicking on each view.

Shan Shaji (3):
pdm-client: add `list_views` function to fetch views list
ui: acl: list granular level permission paths for views
ui: acl: extend permission paths to allow specific remote access

lib/pdm-client/src/lib.rs | 10 +++
.../configuration/permission_path_selector.rs | 80 +++++++++++++++----
2 files changed, 76 insertions(+), 14 deletions(-)

--
2.47.3