Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4279

while creating table in Trino , with specific table-name permission, getting an access denied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • audit

    Description

      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 

      Attachments

        Activity

          People

            sneha_ss sneha_surjuse
            sneha_ss sneha_surjuse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: