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)