[
https://issues.apache.org/jira/browse/SENTRY-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458841#comment-16458841
]
kalyan kumar kalvagadda commented on SENTRY-2173:
-------------------------------------------------
*Current code:*
{noformat}
Map<String, FsAction> roleToPermission
{noformat}
*Proposed Code: *
{noformat}
Map<TPrivilegeEntity, FsAction> entiryToPermission
{noformat}
> Extend PrivilegeInfo to hold user privileges
> --------------------------------------------
>
> Key: SENTRY-2173
> URL: https://issues.apache.org/jira/browse/SENTRY-2173
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: kalyan kumar kalvagadda
> Assignee: kalyan kumar kalvagadda
> Priority: Major
>
> PrivilegeInfo should be updated to hold the permissions added to the users.
> PrivilegeInfo currently holds roles <=> privileges mapping. This data
> structure should be made generic so that it could hold the permissions of
> either roles/users on a given object.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)