hive impersonation=true not effect when show schemas/tables #15122
-
trino:400 catalog: use default system access control hive config Range plugin for access control any user can see all of schema and tables but can't select from table i [see:]12002(#12002) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If i understand correctly, you want to add access control on hive catalog, here have two methods to achieve this:
|
Beta Was this translation helpful? Give feedback.
hive.metastore.thrift.impersonation.enabled=true
is just used to pass real client user(Trino side) to metastore, and you can check metastore log to verify the user info.If i understand correctly, you want to add access control on hive catalog, here have two methods to achieve this:
hive.metastore.thrift.impersonation.enabled=true
;hive.metastore.thrift.impersonation.enabled=true
, you can get correct output for each user when executing query 'show schemas/tables'.