fix: add i18n + migration (#27836)

This commit is contained in:
sean-brydon authored and GitHub committed 2026-02-10 14:44:19 +00:00
1 parent 16eb96e27d
commit d8e6ecc7a0
2 files changed
+12

No files matched your search

@@ -0,0 +1,8 @@
-- Add booking audit log permissions to admin role
INSERT INTO "RolePermission" (id, "roleId", resource, action, "createdAt")
SELECT gen_random_uuid(), 'admin_role', resource, action, NOW()
FROM (VALUES
('booking', 'readTeamAuditLogs'),
('booking', 'readOrgAuditLogs')
) AS permissions(resource, action)
ON CONFLICT ("roleId", resource, action) DO NOTHING;