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

Ted Malaska commented on SENTRY-722:
------------------------------------

Talked Prasad,

this is where the validation needs to happen:
private MSentryPrivilege alterSentryRoleGrantPrivilegeCore(PersistenceManager 
pm,
      String roleName, TSentryPrivilege privilege)
      throws SentryNoSuchObjectException, SentryInvalidInputException {

Prasad is going to help be find a util function for parse logic.

> Grant on URI should validate the required resource string format
> ----------------------------------------------------------------
>
>                 Key: SENTRY-722
>                 URL: https://issues.apache.org/jira/browse/SENTRY-722
>             Project: Sentry
>          Issue Type: Bug
>          Components: Hive Plugin
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Prasad Mujumdar
>            Assignee: Ted Malaska
>
> The URI privilege grant requires the URI to be a fully qualified resource 
> path, ie hdfs://NN:Port/Path or file:///path. The Hive plugin or DB provider 
> should validate the format and raise error if the URI is not correctly 
> formatted.



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

Reply via email to