Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -0,0 +1,30 @@
-- R-P11b Dashboard isolation artifact.
-- Companion to prisma/rls/tenant-isolation.sql. Enable during the merge
-- migration once the schema lands and the dashboard service has shipped.
--
-- Verification:
-- psql "$DIRECT_URL" -f prisma/rls/dashboard-isolation.sql
ALTER TABLE "Dashboard" ENABLE ROW LEVEL SECURITY;
ALTER TABLE "Dashboard" FORCE ROW LEVEL SECURITY;
DROP POLICY IF EXISTS "tenant_isolation_dashboard" ON "Dashboard";
CREATE POLICY "tenant_isolation_dashboard" ON "Dashboard"
USING ("tenantId" = current_setting('app.tenant_id', true))
WITH CHECK ("tenantId" = current_setting('app.tenant_id', true));
ALTER TABLE "DashboardLayout" ENABLE ROW LEVEL SECURITY;
ALTER TABLE "DashboardLayout" FORCE ROW LEVEL SECURITY;
DROP POLICY IF EXISTS "tenant_isolation_dashboard_layout" ON "DashboardLayout";
CREATE POLICY "tenant_isolation_dashboard_layout" ON "DashboardLayout"
USING ("tenantId" = current_setting('app.tenant_id', true))
WITH CHECK ("tenantId" = current_setting('app.tenant_id', true));
ALTER TABLE "WidgetInstance" ENABLE ROW LEVEL SECURITY;
ALTER TABLE "WidgetInstance" FORCE ROW LEVEL SECURITY;
DROP POLICY IF EXISTS "tenant_isolation_widget_instance" ON "WidgetInstance";
CREATE POLICY "tenant_isolation_widget_instance" ON "WidgetInstance"
USING ("tenantId" = current_setting('app.tenant_id', true))
WITH CHECK ("tenantId" = current_setting('app.tenant_id', true));