You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "sneha_surjuse (Jira)" <ji...@apache.org> on 2023/06/09 12:50:00 UTC

[jira] [Assigned] (RANGER-4279) while creating table in Trino , with specific table-name permission getting an access denied

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

sneha_surjuse reassigned RANGER-4279:
-------------------------------------

    Assignee: sneha_surjuse

> 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
>            Assignee: sneha_surjuse
>            Priority: Major
>
> 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)