You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Arun Suresh (JIRA)" <ji...@apache.org> on 2014/05/17 01:00:18 UTC

[jira] [Created] (SENTRY-214) Sentry Service does not allow the same Privilege to be associated to multiple Roles

Arun Suresh created SENTRY-214:
----------------------------------

             Summary: 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


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)