[GH-ISSUE #2897] User Impersonation #1003

Open
opened 2026-03-07 20:57:58 +03:00 by kerem · 0 comments
Owner

Originally created by @wufh43 on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2897

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.

Originally created by @wufh43 on GitHub (Sep 5, 2024). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2897 **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`. [1]: https://trino.io/docs/current/client/jdbc.html [2]: https://trino.io/docs/current/sql/set-session-authorization.html
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#1003
No description provided.