rock
ff3e48504c
docs: API.md + RBAC.md with Authentik integration
Documentation:
- docs/API.md: Complete API reference with examples
- All endpoints with curl examples
- Python SDK example
- Error responses and rate limits
- docs/RBAC.md: RBAC system documentation
- Two-level access control explained
- Built-in roles (admin, portfolio-agent, authenticated-user)
- Authentik configuration guide
- Scope mapping examples for roles/permissions
- Troubleshooting guide
JWT Integration:
- Add 'roles' field to JwtClaims struct
- Wire roles from Authentik JWT to RBAC Claims
- API key users get 'admin' role by default
Tests:
- Add test_to_rbac_claims_with_roles
- Verify roles extraction from JWT
- 670 tests passing
2026-09-01 09:44:52 -07:00
..
2026-08-27 21:05:09 -07:00
2026-09-01 09:44:52 -07:00
2026-08-28 09:12:09 -07:00
2026-08-27 21:05:09 -07:00
2026-08-28 13:16:52 -07:00
2026-08-28 13:34:28 -07:00
2026-08-27 12:29:23 -07:00
2026-08-28 07:50:12 -07:00
2026-08-28 07:49:34 -07:00
2026-08-28 12:14:49 -07:00
2026-08-28 13:34:28 -07:00
2026-08-28 13:11:56 -07:00
2026-08-28 13:14:39 -07:00
2026-08-30 20:36:49 -07:00
2026-08-27 21:12:10 -07:00
2026-08-27 20:25:05 -07:00
2026-08-28 12:56:16 -07:00
2026-08-28 12:32:08 -07:00
2026-09-01 09:44:52 -07:00
2026-08-28 08:13:36 -07:00