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