Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -7,7 +7,7 @@
|
||||
--
|
||||
-- IMPORTANT: `App` is a GLOBAL catalog table (no tenantId) → NO policy, NO RLS.
|
||||
-- Only the tenant-scoped rows are isolated: DataConnection, AppSyncRun,
|
||||
-- AppSyncRunLog, AppSyncItem.
|
||||
-- AppSyncRunLog, AppSyncItem, AppEntityBinding.
|
||||
--
|
||||
-- WHY DEFERRED: with RLS + FORCE on, any query WITHOUT `app.tenant_id` returns
|
||||
-- ZERO rows. The dataConnection/appSync services always scope by
|
||||
@@ -27,7 +27,7 @@ DO $$
|
||||
DECLARE
|
||||
tbl text;
|
||||
BEGIN
|
||||
FOREACH tbl IN ARRAY ARRAY['DataConnection', 'AppSyncRun', 'AppSyncRunLog', 'AppSyncItem']
|
||||
FOREACH tbl IN ARRAY ARRAY['DataConnection', 'AppSyncRun', 'AppSyncRunLog', 'AppSyncItem', 'AppEntityBinding']
|
||||
LOOP
|
||||
EXECUTE format('ALTER TABLE %I ENABLE ROW LEVEL SECURITY;', tbl);
|
||||
EXECUTE format('ALTER TABLE %I FORCE ROW LEVEL SECURITY;', tbl);
|
||||
|
||||
Reference in new issue
Block a user