Agent Zero
7c8f2a2222
feat(permissions): ABAC integration, principals caching, cache version validation
...
- Integrate ABAC policies into apply_visibility_filter() (allow/deny with priority)
- Add field whitelist (ABAC_ALLOWED_FIELDS) for build_sql_condition() security
- Add request-level ContextVar for user principals (group_ids, role_id)
- Set principals in deps.py (session + bearer auth)
- Use ContextVar in visibility.py and permission_resolver.py (N+1 fix)
- Add version validation to get_cached_visible_ids() (cache strategy unification)
- Deactivate delegation route (parked — not integrated into resolve_permissions)
- Add 7 ABAC integration tests
All 70 tests pass (7 ABAC + 63 existing). No regressions.
2026-08-06 22:05:15 +02:00
..
2026-06-29 08:02:14 +02:00
2026-08-02 23:25:54 +02:00
2026-08-06 22:05:15 +02:00
2026-07-29 12:28:08 +02:00
2026-08-04 16:02:36 +02:00
2026-08-04 16:02:36 +02:00
2026-07-27 12:45:45 +02:00
2026-07-23 22:39:14 +02:00
2026-07-23 22:37:25 +02:00
2026-07-25 21:03:46 +02:00
2026-07-23 20:41:45 +02:00
2026-07-23 22:44:54 +02:00
2026-08-03 14:06:55 +02:00
2026-07-25 21:03:46 +02:00
2026-07-24 01:32:08 +02:00
2026-07-23 22:48:19 +02:00
2026-07-31 00:58:05 +02:00
2026-07-23 17:17:32 +02:00
2026-07-25 21:03:46 +02:00
2026-07-23 17:18:38 +02:00
2026-06-29 17:43:56 +02:00
2026-07-31 01:57:51 +02:00
2026-07-31 01:57:51 +02:00
2026-07-31 01:57:51 +02:00
2026-07-23 23:35:35 +02:00
2026-07-24 00:09:26 +02:00
2026-07-23 23:58:45 +02:00
2026-07-25 21:03:46 +02:00
2026-06-29 20:48:58 +02:00
2026-07-25 21:03:46 +02:00
2026-07-23 17:18:38 +02:00
2026-07-29 12:28:08 +02:00
2026-08-04 16:02:36 +02:00
2026-08-04 16:02:36 +02:00
2026-07-01 23:15:35 +02:00
2026-07-26 23:15:34 +02:00
2026-06-29 17:43:56 +02:00
2026-07-01 15:41:27 +02:00
2026-07-26 23:15:34 +02:00
2026-08-04 16:02:36 +02:00
2026-07-23 23:02:07 +02:00
2026-07-23 23:01:59 +02:00
2026-07-01 23:15:35 +02:00
2026-07-31 09:02:40 +02:00
2026-06-29 17:43:56 +02:00
2026-08-02 23:47:29 +02:00
2026-08-03 15:20:06 +02:00
2026-07-25 21:03:46 +02:00
2026-07-25 21:03:46 +02:00
2026-07-01 23:15:35 +02:00
2026-07-29 12:28:08 +02:00
2026-08-06 14:51:49 +02:00
2026-06-29 17:43:56 +02:00
2026-08-01 23:29:20 +02:00
2026-08-06 14:30:15 +02:00
2026-07-25 21:03:46 +02:00
2026-06-30 01:12:33 +02:00
2026-07-23 23:22:33 +02:00
2026-08-04 14:34:06 +02:00
2026-07-31 02:05:16 +02:00
2026-07-23 23:44:50 +02:00
2026-07-26 23:15:34 +02:00
2026-07-23 17:18:38 +02:00
2026-07-23 23:41:34 +02:00
2026-07-25 21:03:46 +02:00
2026-07-25 21:03:46 +02:00
2026-07-23 20:39:42 +02:00
2026-07-31 00:58:05 +02:00
2026-07-26 23:15:34 +02:00
2026-06-29 17:43:56 +02:00
2026-08-03 12:44:02 +02:00