sneha_surjuse created RANGER-4279:
-------------------------------------

             Summary: while creating table in Trino , with specific table-name 
permission getting an access denied
                 Key: RANGER-4279
                 URL: https://issues.apache.org/jira/browse/RANGER-4279
             Project: Ranger
          Issue Type: Bug
          Components: audit
            Reporter: sneha_surjuse


While granting permissions on * (all tables) in Trino worked as expected, I'm 
currently getting an issue when attempting to create tables using specific 
table-name permissions. 

The issue is related to the resource creation process and the permission checks 
performed by the {{checkCanCreateTable}} method.

Currently, the {{checkCanCreateTable}} method creates a resource using the 
{{createResource}} method with two parameters: {{catalogName}} and 
{{{}schemaName{}}}. This resource represents the catalog and schema but does 
not include the specific table name.

To resolve this issue, I have provided a patch 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to