sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-214) Sentry Service does not allow the same Privilege to be associated to multiple Roles
Date Mon, 19 May 2014 02:36:37 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001348#comment-14001348
] 

Prasad Mujumdar commented on SENTRY-214:
----------------------------------------

[~asuresh] The patch looks fine to me. Thanks for taking care of the issue.
Would you mind combining the testcase and code changes and creating a [review board|reviews.apache.org]
request. Thanks!

> 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, SENTRY-214.2.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)

Mime
View raw message