dbeaver / dbeaver/cloudbeaver

User Impersonation

Open
#2,897 12 comments 2 reactions 0 assignees View on GitHub
x:trino xf:connection
Dominant language
TypeScript
Stars
5.1k
Forks
563
Avg merge
3d 9h
Merged PRs (30d)
59

Description

**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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.