Sergio Peña created SENTRY-2315:
-----------------------------------
Summary: The grant all operation is not dropping the
create/alter/drop/index/lock privileges.
Key: SENTRY-2315
URL: https://issues.apache.org/jira/browse/SENTRY-2315
Project: Sentry
Issue Type: Bug
Components: Sentry
Affects Versions: 2.1.0
Reporter: Sergio Peña
When an object has the ALL privilege, any individual privilege explicitly
granted (i.e. create, select, insert, ...) after that has no effect on the
privilege list because ALL implies the role or user has all those privileges.
However, when any of the new privileges list (create, alter, drop) is granted
before, and then the grant ALL happens, those privileges are not removed. We
should keep the GRANT ALL consistent and remove any individual privilege
(except the OWNER privilege) from the list.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)