cloudbeaver icon indicating copy to clipboard operation
cloudbeaver copied to clipboard

User Impersonation

Open wufh43 opened this issue 5 months ago • 7 comments

Is your feature request related to a problem? Please describe. For databases that support user impersonation, it would be great if CloudBeaver could impersonate the currently logged in user so that the database could make correct authorization decisions.

For example: Trino allows user impersonation, either using a session property for the JDBC driver 1 or by executing a SET SESSION AUTHORIZATION statement 2.

Describe the solution you'd like I'd like to be able to enable user impersonation on a per-connection basis. When enabled, CloudBeaver would take the necessary actions to impersonate the currently logged in user for that connection.

For Trino, that would mean either using a session property, or executing a SET SESSION AUTHORIZATION.

wufh43 avatar Sep 05 '24 05:09 wufh43