CLI TUI: adopt GetPermissionMatrix affordances #136
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app#136
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the RBAC matrix breakdown (2026-08-16), finding 3.
The TUI never reads
GetPermissionMatrix— it still guesses from role buckets (isAdminapp.go:55,isManager= Admin|Member app.go:58), the pattern the web abandoned in ADR-0028. Four live divergences from the server:jobs.go:195-215— hides in-list/standalone creation the ADR-0031 rows allow a child.rewards.go:257-316— lets a MEMBER attempt claim-for-other; the server allows only ADMIN and will deny.calendar.go:215-243— gates on isManager where the server rule is membership-based (RequireEventMember): both over- and under-shows.lists.go:236-296— hides list create/rename/delete/add-item the matrix opens to CHILD.Fix: add a
GetPermissionMatrixclient wrapper, fetch once at TUI start, and gate the four tabs on the verbs they perform (the rewards case actively shows an affordance the server denies).