[ 
https://issues.apache.org/jira/browse/SENTRY-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15311096#comment-15311096
 ] 

Lenni Kuff commented on SENTRY-1291:
------------------------------------

+1, thanks [~hahao]

> SimpleCacheProviderBackend.getPrivileges should return the permission based 
> on authorizationhierarchy
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1291
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1291
>             Project: Sentry
>          Issue Type: Sub-task
>            Reporter: Hao Hao
>            Assignee: Hao Hao
>         Attachments: SENTRY-1291.0.patch, SENTRY-1291.1.patch, 
> SENTRY-1291.2.patch, SENTRY-1291.3.patch, SENTRY-1291.4.patch, 
> SENTRY-1291.5.patch
>
>
> SimpleCacheProviderBackend.getPrivileges now return all the cached permission 
> for a set of groups, results in ResourceAuthorizationProvider.doHasAccess 
> very inefficiency. To improve, SimpleCacheProviderBackend.getPrivileges 
> should return the permission based on authorizationhierarchy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to