sql: Skip RLS policies when table is access for FK relationship and unique/PK constraints #136747
Labels
A-sql-privileges
SQL privilege handling and permission checks.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
If a table has a foreign key relationship, row-level security (RLS) policies should not be applied when reading from or writing to the target table during foreign key-related operations.
It is currently unclear whether any changes are needed to ensure this behavior, as it may already work as intended. If no changes are required, this issue will focus on adding tests to verify that RLS policies do not interfere with foreign key-related queries.
Jira issue: CRDB-45228
The text was updated successfully, but these errors were encountered: