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

kalyan kumar kalvagadda commented on SENTRY-1547:
-------------------------------------------------

I have added code so that sentry server could validate the TSentryPrivilege 
object constructed from the Thrift message received client.

If the validation is failed exception is raised and appropriate error is 
message is sent.

> It is possible to create a privilege with all empty fields
> ----------------------------------------------------------
>
>                 Key: SENTRY-1547
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1547
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 1.8.0, sentry-ha-redesign
>            Reporter: Alexander Kolbasov
>            Assignee: kalyan kumar kalvagadda
>            Priority: Minor
>              Labels: bite-sized
>
> It is possible (at least by sending Thrift message) to create  privilege with 
> everything set to __NULL__ which is a pretty useless privilege. We should 
> check that at least some fields are set.



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

Reply via email to