You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Jiayi Liu (Jira)" <ji...@apache.org> on 2021/06/24 03:46:00 UTC

[jira] [Created] (RANGER-3321) policy validator failed to verify resource uniqueness when resourceName contains uppercase letters

Jiayi Liu created RANGER-3321:
---------------------------------

             Summary: 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
             Fix For: 3.0.0


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)