multica/server
Jiayuan f4a6e7c475 refactor(server): consolidate workspace permission checks into middleware
Move workspace membership and role validation from individual handlers
into dedicated Chi middleware. The new middleware resolves workspace ID
(from query param, X-Workspace-ID header, or URL param), validates
membership via DB, and injects the member into request context.

Handlers now read workspace ID and member from context instead of
calling requireWorkspaceMember/requireWorkspaceRole directly. This
eliminates ~17 duplicated permission checks across handlers and makes
it harder to accidentally omit access control on new routes.
2026-03-30 03:40:20 +08:00
..
cmd refactor(server): consolidate workspace permission checks into middleware 2026-03-30 03:40:20 +08:00
internal refactor(server): consolidate workspace permission checks into middleware 2026-03-30 03:40:20 +08:00
migrations fix(daemon): prevent stuck tasks from blocking queue and add concurrent execution 2026-03-30 03:08:52 +08:00
pkg fix(daemon): prevent stuck tasks from blocking queue and add concurrent execution 2026-03-30 03:08:52 +08:00
go.mod feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
go.sum feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
sqlc.yaml feat: pivot to AI-native task management platform (#232) 2026-03-20 17:55:49 +08:00