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

Lenni Kuff commented on SENTRY-618:
-----------------------------------

We should always treat role names as case insensitive so we should be calling 
toLower() during drop. Perhaps the fix is to add a toLower() in the create path?

> Shouldn't set the roleName with lowercase when drop the role
> ------------------------------------------------------------
>
>                 Key: SENTRY-618
>                 URL: https://issues.apache.org/jira/browse/SENTRY-618
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Colin Ma
>            Assignee: Colin Ma
>         Attachments: SENTRY-618.001.patch
>
>
> The bug can be reproduced by the following step:
> 1. create role testRole
> 2. show roles
>     still can get the testRole
> 3. drop role testRole
>     SentryNoSuchObjectException will be thrown.



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

Reply via email to