feat(api): add workspace member management endpoints #556

Merged
jason.woltje merged 1 commits from feat/ms21-workspace-members into main 2026-02-28 18:01:07 +00:00
Owner

MS21-API-003: POST/PATCH/DELETE workspace members with role hierarchy enforcement. Cannot remove last OWNER. Tests pass.

Refs: MS21-API-003

MS21-API-003: POST/PATCH/DELETE workspace members with role hierarchy enforcement. Cannot remove last OWNER. Tests pass. Refs: MS21-API-003
jason.woltje added 1 commit 2026-02-28 18:00:55 +00:00
feat(api): add workspace member management endpoints
Some checks failed
ci/woodpecker/push/api Pipeline failed
e611782dea
- POST/PATCH/DELETE /api/workspaces/:id/members
- Role hierarchy enforcement (cannot manage above own role)
- Cannot remove last OWNER, cannot self-demote if sole owner
- DTOs: AddMemberDto, UpdateMemberRoleDto with class-validator
- Tests: controller + service specs pass

Refs: MS21-API-003
jason.woltje merged commit 8388d49786 into main 2026-02-28 18:01:07 +00:00
jason.woltje deleted branch feat/ms21-workspace-members 2026-02-28 18:01:07 +00:00
Sign in to join this conversation.