fix: add audit log exception to schedules
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- Add down migration script here
|
||||
DROP POLICY "schedule_audit" on audit;
|
||||
@@ -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));
|
||||
Reference in New Issue
Block a user