rdev/internal/auth
jordan 4f01015132
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: implement project access enforcement and management API
- Fix no-op RequireProjectAccess middleware to enforce project_ids
- Apply project access middleware to all project-scoped routes
- Filter GET /projects by allowed project IDs for restricted keys
- Add GET /me endpoint with key identity, scopes, and project access info
- Add PATCH /keys/{id} for partial key updates (name, scopes, project_ids, allowed_ips, expires_in)
- Add GET/POST/DELETE /projects/{id}/access for project-centric access management
- Auto-grant creating key access when using POST /project/create-and-build
- Accept grant_to_key_ids in create-and-build to grant multiple keys on project creation
- Move newProvisionerWithDeps test helper from production code to test file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-21 15:38:37 -07:00
..
keys_test.go feat: Add claude-config API, security hardening, and testing infrastructure 2026-01-25 01:29:13 -07:00
keys.go feat: Add API key authentication with auto-migrations 2026-01-24 21:26:26 -07:00
middleware_bench_test.go feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
middleware.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
scopes_test.go feat: Add claude-config API, security hardening, and testing infrastructure 2026-01-25 01:29:13 -07:00
scopes.go feat: label-based undeploy, GC reconciliation, checkout/sessions, pool status 2026-02-09 19:11:28 -07:00
service_ip_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
service_test.go feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
service.go feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00