GRANT anon users image viewing functionality

This commit is contained in:
thiloho
2024-09-10 18:13:00 +02:00
parent c5fbcdc8bd
commit c0288d2980
3 changed files with 3 additions and 14 deletions

View File

@@ -17,8 +17,7 @@ END IF;
RETURN NEW;
END;
$$
LANGUAGE plpgsql
SECURITY DEFINER;
LANGUAGE plpgsql;
CREATE CONSTRAINT TRIGGER check_user_not_website_owner
AFTER INSERT ON internal.collab