[
https://issues.apache.org/jira/browse/SENTRY-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391696#comment-16391696
]
kalyan kumar kalvagadda commented on SENTRY-2154:
-------------------------------------------------
It's not the issue with the schema but the JDO we defined.
{noformat}
Privileges->Roles->User
{noformat}
When application tries to get privilege, it also gets the roles that have that
privilege. These roles will be list of users which these roles.
If we have mapping between Users and privileges, it gonna be circular.
{noformat}
Privileges->Roles->User->Privileges
{noformat}
> Update schema to grant privileges to user
> -----------------------------------------
>
> Key: SENTRY-2154
> URL: https://issues.apache.org/jira/browse/SENTRY-2154
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Na Li
> Priority: Major
> Fix For: 2.1.0
>
>
> Need to add new DB table to support grant user to privileges
> Also, a flag should be added in privilege table to indicate the privilege is
> created by user, or created by sentry implicitly. User can view the implicit
> privileges, but cannot change it directly
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)