Channel reload route bypasses its intended permission #1059

Closed
opened 2026-10-27 13:38:51 +00:00 by sam · 0 comments
Owner

The authorize route table matches /api/channels/ with a prefix helper that never matches /api/channels/{id}/reload, so reload falls through to the dashboard create permission. Done when reload maps to the channel kind's action and a test pins it.

Acceptance criteria

Channel reload routes require the channel action permission, with a test covering the route.

Close reason

Route prefix never matched; fixed and pinned by a test


Imported from beads archie-core-4laa1 · GitHub #1581 · type bug · priority P2 · created 2026-10-10 · closed 2026-10-13

The authorize route table matches /api/channels/ with a prefix helper that never matches /api/channels/{id}/reload, so reload falls through to the dashboard create permission. Done when reload maps to the channel kind's action and a test pins it. ### Acceptance criteria Channel reload routes require the channel action permission, with a test covering the route. ### Close reason Route prefix never matched; fixed and pinned by a test --- _Imported from beads `archie-core-4laa1` · GitHub #1581 · type bug · priority P2 · created 2026-10-10 · closed 2026-10-13_
sam added the mediumbug labels 2026-10-27 13:38:51 +00:00
sam self-assigned this 2026-10-27 13:38:51 +00:00
sam closed this issue 2026-10-27 13:38:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1059