Board settings move out of /admin and onto the board #193
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Grandiras/Ponente#193
Loading…
Add table
Add a link
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?
Part of #190; needs the roles step (#192) first.
/admin/columns,/admin/tagsand/admin/accessedit one board, and after #192 the person entitled to do that is that board's admin, not the deployment's. They cannot stay behind the super-admin policy./board/{id}/settings/{columns,tags,access}, plus rename and delete, which live on/admin/boardstoday. Gated by the board role, not by a policy — the same reasonBoardAccessis not one: it is per row, not per page. Somebody on the board who is not its admin gets theboard.deniedtreatment, not a redirect to a board they did not ask for./adminis what is left, and it is the super-admin's: the invite list (members, requests, invites). What/admin/boardsbecomes — a list of every board as metadata, with delete — is parked with the ban and delete design in #190; until then it can simply go, since creating a board moves to the home page and everything else on it moves here.ActiveSection/AdminHrefinNavHeaderexist to carry the board across the five admin routes; with three of those routes board-scoped by path, most of that machinery should reduce rather than grow.Components/Admin/BoardScope.razorlikely stops being needed — the board is in the URL and in the header.Migrating
/admin/columns/{id},/admin/tags/{id},/admin/access/{id}redirect to the new address for the same board.LastPageneeds nothing: the old paths it may have remembered redirect like any other.docs/boards-and-permissions.md,docs/ui.md(the account menu, the admin flyout) and the route list indocs/orientation.mdall change;DocumentationTestswill catch the routes and theCovers:paths but not the prose. The Lunacy canvas has frames for every admin page — they move with this.🤖 On it — the reply will link the full session transcript.
Core flows work. Now testing the denial path, delete flow, and phone menu:
The run reported an error after replying: This operation was aborted
→ Opened PR: #202
⏱ 45m 3s · 197 steps · $1.1916 · tokens: 1693.0k in / 77.7k out (+29958.4k cache-read) · Go: 5h 56% · wk 47% · mo 25%
📜 Full session transcript