boardx / boardx/workspacex

fix(auth): require scoped principals for ordinary coordination and audit break-glass

Open
#393 0 comments 0 reactions 0 assignees View on GitHub
backlog out-of-scope owner:coord-architecture sprint-2
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1h 7m
Merged PRs (30d)
969

Description

Parent: #384 (P0-2b). Depends on P0-2a PlatformDirectory role SSOT.

## Scope
Ordinary claim/tick/task/verdict operations must use a scoped principal bound to an active Directory identity/role. The ops token becomes break-glass only and must emit a distinct audit event.

## Acceptance
- Ops token self-reporting a production agent on ordinary endpoints returns 403.
- Scoped identity mismatch returns 403; inactive/unauthorized roles return 403.
- Break-glass uses an explicit path/action and records actor, reason, target, time, and outcome.
- Focused gateway tests cover success and all denials.

Delivery discipline: one issue, one worker branch, one PR.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the gateway handlers for claim, tick, task, and verdict, and review the PlatformDirectory role SSOT from P0-2a. Add focused gateway tests covering scoped-principal success, every stated denial, and the explicit break-glass path; done means denials return 403 and break-glass records the required audit details.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication, authorization, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.