feat: tenant isolation Phase 4 — RLS on all remaining tables #136

Merged
chihlasm merged 9 commits from feat/tenant-isolation-phase-4 into main 2026-04-12 04:35:32 +00:00
Showing only changes of commit c6da4ebee5 - Show all commits

View File

@@ -12,6 +12,9 @@ Policy variants used:
Skipped intentionally:
- accounts — IS the root table; no account_id column
- plan_feature_defaults — platform config; no account_id column
- script_categories — global lookup table; no account_id column
(ScriptTemplate in the same file has account_id,
ScriptCategory does not)
Revision ID: b3c7e9f2a1d8
Revises: 172ad76d7d20
@@ -54,7 +57,6 @@ _STANDARD_TABLES = [
"psa_activity_logs",
"psa_member_mappings",
"script_builder_sessions",
"script_categories",
"session_ratings",
"tree_embeddings",
"user_folders",