[
https://issues.apache.org/jira/browse/SENTRY-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arun Suresh updated SENTRY-214:
-------------------------------
Attachment: SENTRY-214.1.patch
Attaching test case to replicate the issue
> Sentry Service does not allow the same Privilege to be associated to multiple
> Roles
> -----------------------------------------------------------------------------------
>
> Key: SENTRY-214
> URL: https://issues.apache.org/jira/browse/SENTRY-214
> Project: Sentry
> Issue Type: Bug
> Affects Versions: db_policy_store, 1.4.0
> Reporter: Arun Suresh
> Attachments: SENTRY-214.1.patch
>
>
> Steps to recreate :
> 1) Create role1
> 2) Create role2
> 3) Grant 'role1' a Privilege(ALL) to a Table t1, Db d1, server S1
> 4) the 'listPrivilegesByRoleName' API applied to 'role1' returns a set of
> size 1
> 5) Grant 'role2' the same Privilege as role 1.. a Privilege(ALL) to a Table
> t1, Db d1, server S1
> 6) the 'listPrivilegesByRoleName' API applied to 'role2' returns a set of
> size 0
--
This message was sent by Atlassian JIRA
(v6.2#6252)