Open
Description
Data ingestion methods other than INSERT could inadvertently bypass RLS policy enforcement. To align with PostgreSQL behavior, we will prevent IMPORT and COPY operations on tables with row-level security (RLS) enabled.
PostgreSQL returns an error similar to this, which we should replicate:
postgres=> COPY cities FROM '/c.csv';
ERROR: COPY FROM not supported with row-level security
HINT: Use INSERT statements instead.
Jira issue: CRDB-45262
Activity