Skip to content

Add support for passing user's original role for impersonation #547

@findinpath

Description

@findinpath

Describe the feature

Motivated by trinodb/trino#25371

  • X-Trino-Set-Original-Roles
  • Instructs the client to set the roles of the original user in the
    X-Trino-Original-Roles request header in subsequent client requests.

Describe alternatives you've considered

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions