You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2017/09/22 18:43:00 UTC
[jira] [Assigned] (SENTRY-1481) Evaluate use of paths in
MAuthzPathsMapping
[ https://issues.apache.org/jira/browse/SENTRY-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Kolbasov reassigned SENTRY-1481:
------------------------------------------
Assignee: Brian Towles (was: Alexander Kolbasov)
> Evaluate use of paths in MAuthzPathsMapping
> --------------------------------------------
>
> Key: SENTRY-1481
> URL: https://issues.apache.org/jira/browse/SENTRY-1481
> Project: Sentry
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Sravya Tirukkovalur
> Assignee: Brian Towles
>
> In SentryStore#retrieveFullPathsImage, I see that we essentially loop over all rows of MAuthzPathsMapping just to create a slightly different representation of it. This might be pretty expensive as this table can be huge? I think we should consider returning MAuthzPathsMapping instead.
> And in equals() of MAuthzPathsMapping, seems like we do not compare paths. Just want to make sure it is by design.
> I see that we are essentially treating this object as a map on authzObjName in application logic.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)