[ https://issues.apache.org/jira/browse/SENTRY-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dapeng Sun updated SENTRY-1019: ------------------------------- Description: This jira is created according the discussiton at RB of SENTRY-1007, Currently HiveAuthzBingHook using a cached Binding by get all user's privilege, it should use related authorizable object to build the cache, Because of the limitation of PolicyProvider, only one authorization can be passed, so we should use the common parent authorizable object to build the cache. (was: This jira is created according the discussiton at RB of SENTRY-1010, Currently HiveAuthzBingHook using a cached Binding by get all user's privilege, it should use related authorizable object to build the cache, Because of the limitation of PolicyProvider, only one authorization can be passed, so we should use the common parent authorizable object to build the cache.) > Optimize the privilege cache by the common Authorizable at > HiveAuthzBindingHook > --------------------------------------------------------------------------------- > > Key: SENTRY-1019 > URL: https://issues.apache.org/jira/browse/SENTRY-1019 > Project: Sentry > Issue Type: Bug > Reporter: Dapeng Sun > Assignee: Dapeng Sun > > This jira is created according the discussiton at RB of SENTRY-1007, > Currently HiveAuthzBingHook using a cached Binding by get all user's > privilege, it should use related authorizable object to build the cache, > Because of the limitation of PolicyProvider, only one authorization can be > passed, so we should use the common parent authorizable object to build the > cache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)