docs(security): no role, no login now covers the management/CLI surfaces (#145)
Component-Security "No role, no login": replace the "HTTP Basic is not covered yet" note with the Basic and Bearer behaviour, the throttle and log details; bearer section notes a role-less token is refused. Component-CLI: a zero-role user sees the bad-password 401. Component-ManagementService: 401 covers it. CLAUDE.md Security & Auth bullet updated. Claude-Session: https://claude.ai/code/session_01GT67AFKC45MBz1wPZnVbX8
This commit is contained in:
@@ -65,7 +65,7 @@ Content-Type: application/json
|
||||
- `ManagementSuccess` → HTTP 200 with JSON body
|
||||
- `ManagementError` → HTTP 400 with `{ "error": "...", "code": "..." }`
|
||||
- `ManagementUnauthorized` → HTTP 403 with `{ "error": "...", "code": "UNAUTHORIZED" }`
|
||||
- Authentication failure → HTTP 401
|
||||
- Authentication failure → HTTP 401 (including a caller whose groups map to no role, or a bearer token with no role claim — `Component-Security.md` *No role, no login*)
|
||||
- Actor timeout → HTTP 504
|
||||
- Large request while another is in flight → HTTP 409 with `{ "error": "...", "code": "IMPORT_IN_PROGRESS" }` (see below)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user