Skip to content

feat(ui): show technical details and readable permissions - #13

Merged
stephdl merged 2 commits into
mainfrom
feat/tech-details-visible
Nov 9, 2026
Merged

stephdl merged 2 commits into
mainfrom
feat/tech-details-visible

Conversation

@stephdl

@stephdl stephdl commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

The technical details block was folded behind a summary with no expand marker, so people did not see they could click on it. I made it always visible. It is short and it holds what an admin wants to check before installing: root or not, permissions, ports.

I also reworked how permissions are described, using the approach of NethServer/ns8-core#1395. Each permission is now looked up by module and role pair, so routeadm on nethvoice-proxy no longer reads as a Traefik permission. Labels with several roles like node:fwadm,portsadm are split. A rootfull app gets an extra red row on top. self:selfadm is hidden since core grants it to every app. Unknown roles fall back to "Role X on Y".

Permissions are shown as a two-column table, raw ID on the left and the explanation on the right. I added the strings in all five languages. The French, Italian, German and Spanish ones would benefit from a native reader.

Technical details were hidden behind a summary with no expand marker. Permissions are now described per module and role, with rootfull shown first, in all five languages.
Malformed labels now show raw instead of being dropped, and only self:selfadm is hidden. Lookups ignore Object.prototype keys. IDs wrap after @ and : so the table fits between 601 and 800px.
@stephdl
stephdl merged commit ea5e49f into main Nov 9, 2026
@stephdl
stephdl deleted the feat/tech-details-visible branch November 9, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant