sql: only table owner should be allowed to change RLS attributes of a table #143080
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)
target-release-25.2.0
In postgres, only the superuser or the table owner is allowed to perform the following operations on a table:
Our implementation is more permissive, requiring only the CREATE privilege. This issue was opened to align our behavior with postgres by ensuring that these operations are restricted to the table owner.
If you attempt any of the above commands in postgres, you get the following error:
Jira issue: CRDB-48648
The text was updated successfully, but these errors were encountered: