Trino doesn't allow to create a role in hive catalog #23276
Replies: 5 comments
-
The connector supports creating roles. What |
Beta Was this translation helpful? Give feedback.
-
we are setting |
Beta Was this translation helpful? Give feedback.
-
The access control doesn't support creating roles. Why do you want to manage roles in allow-all security? |
Beta Was this translation helpful? Give feedback.
-
Hive does support creating roles when we set the |
Beta Was this translation helpful? Give feedback.
-
Initially we started off with not having roles. But now we have a scenario where we need to be able to restrict users to allow select, delete functionality. |
Beta Was this translation helpful? Give feedback.
-
Hi,
We are trying to create custom roles in Trino in hive catalog to restrict users from executing certain queries.
We are executing this query through trino rest api: /v1/statement:
CREATE ROLE customRole In hive
we get this error:
This connector does not support roles
do we have an alternative to restrict users from executing certain queries eg: delete queries.
Ideally we want to create role and map users to the roles and then grant privileges on these roles, but it looks like hive connector doesn't support role creation.
Thanks,
Sushmitha
Beta Was this translation helpful? Give feedback.
All reactions