You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2018/11/01 13:05:00 UTC
[jira] [Created] (SENTRY-2441) When MAuthzPathsMapping is deleted
all associated MPaths should be deleted automatically.
kalyan kumar kalvagadda created SENTRY-2441:
-----------------------------------------------
Summary: 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
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)