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

Prasad Mujumdar commented on SENTRY-358:
----------------------------------------

The newly created privilege can be different from the one request privilege is 
a subset of existing privilege, eg if you add SELECT when the role already has 
ALL, then we'll not add select. The createTime also reset to the one on server.
This is covered in SENTRY-359 patch. (was very useful for unit tests as well :) 
)




> Sentry service API to grant prvilege should return newly created privilege 
> object 
> ----------------------------------------------------------------------------------
>
>                 Key: SENTRY-358
>                 URL: https://issues.apache.org/jira/browse/SENTRY-358
>             Project: Sentry
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>             Fix For: 1.5.0
>
>
> The API alter_sentry_role_grant_privilege() could return the new privilege 
> object created for this call. It would help clients for reporting/auditing 
> the actions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to