fix(rls): not handling global permissions

This commit is contained in:
2026-04-07 01:42:47 +02:00
parent 97a13bfeb3
commit 499df68bf5
4 changed files with 229 additions and 6 deletions
+4
View File
@@ -380,5 +380,9 @@ SELECT morbac.t('Karl reads GlobalTech contracts [temporal global rule, expired]
'read', 'contracts'
), FALSE);
DELETE FROM morbac.global_rules
WHERE user_id = '30000000-0000-0000-0000-000000000011'
AND activity = 'read' AND view = 'contracts';
\echo ''
\echo '=== Global Rules Tests Completed ==='