Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support User Impersonation for Kyuubi #6801

Open
3 of 4 tasks
nqvuong1998 opened this issue Nov 11, 2024 · 2 comments
Open
3 of 4 tasks

[FEATURE] Support User Impersonation for Kyuubi #6801

nqvuong1998 opened this issue Nov 11, 2024 · 2 comments
Labels

Comments

@nqvuong1998
Copy link

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the feature

This feature controls the ability of a user to impersonate another user. In some environments it is desirable for an administrator (or managed system) to run queries on behalf of other users. In these cases, the administrator authenticates using their credentials, and then submits a query as a different user. When the user context is changed, Trino verifies that the administrator is authorized to run queries as the target user.

Motivation

Using BI tools like HUE and Superset, set up a connection URL with admin credentials. Then, enable impersonation so that the login user operates with their own permissions.

Describe the solution

Trino Impersonation rules: https://trino.io/docs/current/security/file-system-access-control.html#impersonation-rules

Additional context

No response

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
  • No. I cannot submit a PR at this time.
@nqvuong1998
Copy link
Author

cc @yaooqinn @pan3793

@pan3793
Copy link
Member

pan3793 commented Nov 12, 2024

This could not be fully implemented without hacking Spark, we recommend using the USER/CONNECTION share level on Kerberized Hadoop cluster to achieve the goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants