Use security invoker for overview endpoint and update last modified by triggers

This commit is contained in:
thiloho
2024-08-07 19:51:29 +02:00
parent fbadbb18a4
commit bcc26322d3
3 changed files with 36 additions and 17 deletions

View File

@@ -1,5 +1,7 @@
-- migrate:up
CREATE VIEW api.website_overview AS
CREATE VIEW api.website_overview
WITH (security_invoker = on)
AS
SELECT
w.id,
w.owner_id,