Skip to content

Commit e2687ec

Browse files
ScottArbeitScott Arbeit
andauthored
Secure /access/* management APIs and complete HTTP authz coverage (#58)
* Secure access endpoints and expand authz coverage * Update CodexPlan status * Update auth docs, add markdownlint config, improve launch - Add .markdownlint.jsonc to set MD013 line length to 120 - Expand AGENTS.md with markdown and documentation guidelines - Rewrite Authentication.md: clarify auth mechanisms, add quickstart, detailed Auth0 setup, PAT usage, env vars, troubleshooting - Refactor launchSettings.json: reorder properties, enable TestAuth and admin bootstrap for DebugLocal, clean up comments * Add manual access authorization test script --------- Co-authored-by: Scott Arbeit <scottarbeit@github.com>
1 parent 8d1e135 commit e2687ec

File tree

16 files changed

+1545
-283
lines changed

16 files changed

+1545
-283
lines changed

.markdownlint.jsonc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
// Global markdownlint configuration for this repo.
3+
"MD013": {
4+
"line_length": 120
5+
}
6+
}

CodexPlan.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Plan
2+
3+
- Step 1: Set up work tracking and capture current routing/authz baseline. Status: Done.
4+
- Step 2: Implement access endpoint authorization + role validation + access resource derivation. Status: Done.
5+
- Step 3: Add full endpoint authorization classification and guardrails (including metrics and hub). Status: Done.
6+
- Step 4: Implement bootstrap SystemAdmin seeding + RoleCatalog BranchAdmin alignment. Status: Done.
7+
- Step 5: Add/update tests for auth coverage, access rules, bootstrap, and guardrails. Status: Done.
8+
- Step 6: Run release build/test checkpoints and reconcile failures. Status: Done.
9+
- Step 7: Final validation, documentation touch-ups, and close out bead/commit. Status: Done.
10+
11+
# Decision Log
12+
13+
- 2026-01-18 03:09:00: Initialized plan file and will refine steps as implementation proceeds.
14+
- 2026-01-18 03:14:00: Used `bd create` with `--repo . --no-daemon` because the daemon routed to a planning repo without an issue prefix.
15+
- 2026-01-18 03:33:00: Implemented endpoint security via a centralized `securityEntries` map + `secureHandler` to force explicit classification.
16+
- 2026-01-18 03:34:00: Added `grace__metrics__allow_anonymous` with default auth-required behavior and warning log when anonymous metrics are enabled.
17+
- 2026-01-18 03:36:00: Bootstrapped SystemAdmin seeding using env-configured principals and wired test host to pass bootstrap user ID.

0 commit comments

Comments
 (0)