Repository navigation
v2.5.1 — Role Permissions polish
v2.5.1 — Role Permissions polish
Four fixes on top of 2.5.0.
Role Permissions
- Identical namespaces merge into one card. If a role grants the same
(resource, action)set onns=aandns=bof the same cluster, the panel
renders a single card with both namespaces listed in the header, not two
identical cards. The counterN namespaces, same grantsappears next to the
chips when more than one is merged in. - Edit permissions. The row
⋯menu gains Edit permissions…. It opens
the Add modal in edit mode seeded with the card's current state. Save
computes a diff — unticked chips are deleted, newly-ticked chips are added,
everything else is untouched — scoped only to this card so unrelated grants
stay put. - Chip remove on merged cards removes the
(resource, action)from
every namespace listed on the card. The tooltip spells that out so there
is no surprise. - Terminology follows the merge: the destructive menu entry is now Clear
card (not "Clear row"); Duplicate to another namespace… opens Add with
no namespace preselected so the operator picks the targets.
Modal + Checkbox
- Modal locks body scroll while open. Previously, wheeling over the
backdrop moved content behind the dialog, which made the modal feel like it
"opened too far below". Scroll is now frozen until the modal closes. - New size
lg(64 rem, viewport-capped). The Add Permissions modal uses
this instead offull(which was 95 vh and dominated the viewport). The
form reads as a focused dialog now. - Resource-row checkbox renders native indeterminate. When some but not
all actions for a resource are ticked, the parent box shows the browser's
mixed state instead of silently flipping back to unticked. Ticking an
indeterminate box fills in the remaining actions.
Upgrade
docker pull ghcr.io/vurulkan/kubernetes-openconsole:2.5.1
docker rm -f openconsole && \
docker run -d --name openconsole -p 8080:8080 -e DATA_PATH=/tmp/app.db \
ghcr.io/vurulkan/kubernetes-openconsole:2.5.1
No schema change, backend untouched.
Rollback
docker pull ghcr.io/vurulkan/kubernetes-openconsole:2.5.0
# or :2.4.0, :2.3.0, :2.1.4 — all safe