service · inferred from evidence
row-level security
A security feature in the database that restricts row access based on policies.
- "new row violates row-level security policy" (42501) on INSERT with TO anon WITH CHECK (true)
A public contact/lead form needs anonymous users to insert rows into a table, so RLS was enabled with CREATE POLICY ... FOR INSERT TO anon WITH CHECK (true) plus GRANT INSERT ON the table TO anon and GRANT USAGE, SELECT ON SEQUENCE TO anon.