mnaircckel
06/16/2022, 1:30 AMCREATE POLICY "Restrict" ON "public"."<mytable>" AS PERMISSIVE FOR ALL TO public USING (false)
, but that didn't yeild any results either. Select statements are still going through just fine.
Am I misconfiguring something or is RLS not intended to work when connecting server-side with the connection URI?Needle
06/16/2022, 1:30 AMgaryaustin
06/16/2022, 1:33 AMmnaircckel
06/16/2022, 1:34 AMgaryaustin
06/16/2022, 1:41 AMWhen row security is enabled on a table (with ALTER TABLE ... ENABLE ROW LEVEL SECURITY), all normal access to the table for selecting rows or modifying rows must be allowed by a row security policy. (However, the table's owner is typically not subject to row security policies.)