[
https://issues.apache.org/jira/browse/SENTRY-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516378#comment-16516378
]
Sergio Peña commented on SENTRY-2272:
-------------------------------------
Why is it not correct? Shouldn't the client handle the exception and just
displays empty in the case of Hive?
For roles, Sentry throws an exception, so why not for users?
> Fix the sentry store logic for listing user privileges
> -------------------------------------------------------
>
> Key: SENTRY-2272
> URL: https://issues.apache.org/jira/browse/SENTRY-2272
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: kalyan kumar kalvagadda
> Priority: Major
>
> Currently sentry store throws exception when privileges are requested for a
> user that does not exist. This doesn't seem correct. Rather sentry store
> should return empty list.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)