[
https://issues.apache.org/jira/browse/SENTRY-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
kalyan kumar kalvagadda updated SENTRY-1947:
--------------------------------------------
Fix Version/s: (was: 2.0.0)
2.1.0
Moving all unresolved jiras with fix version 2.0.0 to 2.1.0. Please change the
fix version if you intend to make it into 2.0.0 release.
> Leverage Current Roles to speed up requests for privileges
> ----------------------------------------------------------
>
> Key: SENTRY-1947
> URL: https://issues.apache.org/jira/browse/SENTRY-1947
> Project: Sentry
> Issue Type: Improvement
> Components: Sentry
> Reporter: Arjun Mishra
> Assignee: Arjun Mishra
> Priority: Minor
> Fix For: 2.1.0
>
>
> Right now when roles a re set current, we do nothing to optimize requesting
> for privileges. We basically get all roles, and then use the intersection to
> further filter the roles. After which we get privileges.
> There should be a better approach to this. We should simply use those current
> roles, and return privileges for them. We don't even need to check if the
> current roles belong to the user-groups because that is something that
> should've been checked earlier when making roles current
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)