sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Na Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-2245) Remove privileges that do not associate with a role or a user
Date Thu, 24 May 2018 16:03:00 GMT
Na Li created SENTRY-2245:
-----------------------------

             Summary: Remove privileges that do not associate with a role or a user
                 Key: SENTRY-2245
                 URL: https://issues.apache.org/jira/browse/SENTRY-2245
             Project: Sentry
          Issue Type: Improvement
            Reporter: Na Li
            Assignee: Na Li


After a privilege is detached from a role or a user, we should check if this privilege is
not associated with any role nor any user. Then, we should remove this privilege from DB.
Otherwise, the orphan privileges will grow overtime.

One example place is in alterSentryRoleGrantPrivilegeCore. After removing role from mInsert,
this privilege may not be associated with any role or user, and should be removed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message