You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Lenni Kuff (JIRA)" <ji...@apache.org> on 2014/11/15 10:37:33 UTC

[jira] [Commented] (SENTRY-140) Orphaned privileges should be garbage collected

    [ https://issues.apache.org/jira/browse/SENTRY-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213484#comment-14213484 ] 

Lenni Kuff commented on SENTRY-140:
-----------------------------------

+1 with a few more comments. Thanks [~yoderme]

> Orphaned privileges should be garbage collected
> -----------------------------------------------
>
>                 Key: SENTRY-140
>                 URL: https://issues.apache.org/jira/browse/SENTRY-140
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Shreepadma Venugopalan
>            Assignee: Mike Yoder
>         Attachments: SENTRY-140.0.patch, SENTRY-140.1.patch, SENTRY-140.2.patch, SENTRY-140.3.patch
>
>
> When a role is dropped, the associated privileges are not removed from the database. This is the right behavior because a privilege may be shared by multiple roles. However, when no roles reference a privilege, it must be garbage collected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)