[ 
https://issues.apache.org/jira/browse/RANGER-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiayi Liu updated RANGER-3321:
------------------------------
    Attachment: 0001-RANGER-3321.patch

> policy validator failed to verify resource uniqueness when resourceName 
> contains uppercase letters
> --------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-3321
>                 URL: https://issues.apache.org/jira/browse/RANGER-3321
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.1.0
>            Reporter: Jiayi Liu
>            Assignee: Jiayi Liu
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: 0001-RANGER-3321.patch
>
>
> We need to convert the resourceName to lowercase before verifying the 
> uniqueness of the resource. Otherwise, when resourceName contains uppercase 
> letters, a policy with duplicate resources will be created.
> For example, Database=testdb and database=testdb will generate different 
> resource signatures, but Database=testdb will be converted to database=testdb 
> before being stored in the database. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to