Skip to content

feat: Add Support for Roles in User Impersonation #32

@dthyresson

Description

@dthyresson

The current Studio GraphiQL config with User Impersonation does not set roles:

 type AuthImpersonationConfig {
    authProvider: String
    userId: String
    email: String
    # TODO: Add support for roles <<-------
    # roles: [String]
    jwtSecret: String
  }

And generateAuthHeaders in api/src/services/graphiql/graphiql.ts does not set or use these.

This means that devs cannot try out role access in the api/service layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions