fix: add audit log exception to schedules

This commit is contained in:
Ruben Fiszel
2024-05-31 22:29:15 +02:00
parent 326446e5ce
commit 2359cdc128
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
-- Add down migration script here
DROP POLICY "schedule_audit" on audit;

View File

@@ -0,0 +1,4 @@
-- Add up migration script here
CREATE POLICY "schedule_audit" on audit FOR INSERT
TO windmill_user
WITH CHECK (((parameters->>'end_user')::text ~~ 'schedule-%'::text));