[
https://issues.apache.org/jira/browse/SENTRY-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Kolbasov reassigned SENTRY-1356:
------------------------------------------
Assignee: Alexander Kolbasov
> Evaluate the current approach of updates from HMS
> -------------------------------------------------
>
> Key: SENTRY-1356
> URL: https://issues.apache.org/jira/browse/SENTRY-1356
> Project: Sentry
> Issue Type: Sub-task
> Reporter: Sravya Tirukkovalur
> Assignee: Alexander Kolbasov
>
> Would be good to reevaluate the current approach of HMS updates. Currently,
> update contains a list of addPaths and delPaths. Some concerns we need to
> evaluate:
> 1. Hard to capture order in this model.
> 2. In UpdateatableAuthzPaths.applyPartialUpdate we seem to be adding the
> newPaths first and removing the delPaths. One caveat here is: if the newPath
> and oldPath are same, we end up deleting the path. See SENTRY-1346 for one
> such example.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)