fuomag9
277ae6e79c
Add mTLS RBAC with path-based access control, role/cert trust model, and comprehensive tests
Implements full role-based access control for mTLS client certificates:
- Database: mtls_roles, mtls_certificate_roles, mtls_access_rules tables with migration
- Models: CRUD for roles, cert-role assignments, path-based access rules
- Caddy config: HTTP-layer RBAC enforcement via CEL fingerprint matching in subroutes
- New trust model: select individual certs or entire roles instead of CAs (derives CAs automatically)
- REST API: /api/v1/mtls-roles, cert assignments, proxy-host access rules endpoints
- UI: Roles management tab (card-based), cert/role trust picker, inline RBAC rule editor
- Fix: dialog autoclose bug after creating proxy host (key-based remount)
- Tests: 85 new tests (785 total) covering models, schema, RBAC route generation, leaf override, edge cases
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 18:40:21 +02:00
..
2026-04-05 18:40:21 +02:00
2026-04-05 18:40:21 +02:00
2026-02-25 20:58:21 +01:00
2025-11-02 22:16:13 +01:00
2026-04-03 10:15:13 +02:00
2026-03-26 12:51:39 +01:00
2025-11-07 19:26:32 +01:00
2026-03-26 12:51:39 +01:00
2026-03-14 01:03:34 +01:00
2026-04-05 18:40:21 +02:00
2026-03-07 16:53:36 +01:00
2026-03-26 12:51:39 +01:00
2026-04-05 18:40:21 +02:00
2026-03-26 12:51:39 +01:00
2026-03-21 11:53:33 +01:00
2026-03-07 16:53:36 +01:00
2026-03-14 01:03:34 +01:00
2025-11-19 18:06:24 +01:00
2026-03-22 00:22:44 +01:00
2026-03-22 00:11:16 +01:00
2026-03-26 12:51:39 +01:00
2026-03-14 01:03:34 +01:00
2025-11-04 00:00:22 +01:00
2026-03-26 12:51:39 +01:00
2026-03-06 17:27:08 +01:00
2026-03-22 11:14:09 +01:00
2026-03-26 12:51:39 +01:00