sql: support tracking which users grant privileges for revoke compatibility #71999
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)
As described in the Postgres docs: https://www.postgresql.org/docs/14/sql-revoke.html
Currently, CockroachDB lets any user revoke privileges on another user, given that the revoking user has the appropriate privileges. To reproduce this issue, from root, do:
the user 'target' will have its privileges revoked by a user that did not create it, which is not consistent with the behavior of Postgres
Jira issue: CRDB-10892
The text was updated successfully, but these errors were encountered: