test(rls): add multi-tenant isolation integration tests

- 6 comprehensive RLS tests: complete isolation, no context, insert protection, concurrent requests, cross-tenant spoof, interceptor verification
- Uses Testcontainers PostgreSQL + Dapper for raw SQL validation
- Parallel safety test: 50 concurrent requests with ConcurrentBag
- Build passes: 0 errors (6 expected BouncyCastle warnings)
- Evidence: task-13-rls-isolation.txt (21KB), task-13-concurrent-safety.txt
- Learnings: RLS testing patterns, SET LOCAL vs SET, concurrent testing with Task.WhenAll

Task 13 complete. Wave 3: 1/5 tasks done.
This commit is contained in:
WorkClub Automation
2026-03-03 19:11:01 +01:00
parent d3f8e329c3
commit cff101168c
9 changed files with 22180 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
✓ Compiled successfully in 1618.1ms
Route (app)