[ 
https://issues.apache.org/jira/browse/SENTRY-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

kalyan kumar kalvagadda updated SENTRY-2441:
--------------------------------------------
    Attachment: SENTRY-2441.002.patch

> When MAuthzPathsMapping is deleted all associated MPaths should be deleted 
> automatically.
> -----------------------------------------------------------------------------------------
>
>                 Key: SENTRY-2441
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2441
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.2.0
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>         Attachments: SENTRY-2441.001.patch, SENTRY-2441.002.patch
>
>
> When MAuthzPathsMapping is deleted all associated MPaths should be deleted 
> automatically as MPaths are directly associated to MAuthzPathsMapping.
>  
> Currently when entries in MAuthzPathsMapping are deleted the FK in MPaths is 
> set to NULL and the entries are left. These elements are slate are not not 
> used and will never be cleaned.
>  
>  
> Instead MPaths should be removed automatically associated MAuthzPathsMapping 
> entries are deleted.



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

Reply via email to