fix: add i18n + migration (#27836)
This commit is contained in:
1 parent
16eb96e27d
commit
d8e6ecc7a0
2 files changed
+12
No files matched your search
+8
@@ -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;
|
||||
Reference in new issue
Block a user