You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use Apache Ranger for access control on Trino queries, and manage policies to control special privileges to use in-line functions such as some sensitive unhash-like functions. (I know, Ranger is not the officially supported plugin for Trino)
This access control on the in-line functions was working well until v412 (current version of our production cluster), but it's not working anymore on the latest release of Trino(v433) with some breaking changes on the redesigning of access control codes.
It's easy to fix these code lines on our forked repository of Trino,
but I wonder why Trino decided to remove access control on inline function at all.
How about adding option like access-control-on-inline-function-enabled (by default false) ..?
I found FeatureConfig can be injected to FunctionResolver through PlannerContext within LocalQueryRunner. (But it looks ugly to transfer configuration like this..)
The text was updated successfully, but these errors were encountered:
the reason why in-built functions are always allowed is because they are considered "safe". Can you explain which functions you want to disallow and why?
We currently use Apache Ranger for access control on Trino queries, and manage policies to control special privileges to use in-line functions such as some sensitive unhash-like functions. (I know, Ranger is not the officially supported plugin for Trino)
This access control on the in-line functions was working well until
v412
(current version of our production cluster), but it's not working anymore on the latest release of Trino(v433
) with some breaking changes on the redesigning of access control codes.I found the reason on the code like below.
It's easy to fix these code lines on our forked repository of Trino,
but I wonder why Trino decided to remove access control on inline function at all.
How about adding option like
access-control-on-inline-function-enabled
(by defaultfalse
) ..?I found
FeatureConfig
can be injected toFunctionResolver
throughPlannerContext
withinLocalQueryRunner
. (But it looks ugly to transfer configuration like this..)The text was updated successfully, but these errors were encountered: