Revoking Privileges That Were GRANTED BY
A privilege that has been granted using the GRANTED BY
clause is internally attributed explicitly to the grantor designated by that original GRANT
statement.Only that user can revoke the granted privilege.Using the GRANTED BY
clause you can revoke privileges as if you are the specified user.To revoke a privilege with GRANTED BY
, the current user must be logged in either with full administrative privileges, or as the user designated as grantor by that GRANTED BY
clause.
Note
|
Not even the owner of a role can use |
The non-standard AS
clause is supported as a synonym of the GRANTED BY
clause to simplify migration from other database systems.