hasura / hasura/graphql-engine

[authz] Allow renaming the superadmin default role from "admin" to something that can be controlled by the user

Open
#7,595 0 comments 0 reactions 0 assignees View on GitHub
a/authz c/server k/enhancement p/high
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Is your proposal related to a problem?
Users are facing issues in getting their existing roles from their IDP (authn provider and JWT issuer) because they have the rolename "admin" which is something they want to map to Hasura.

### Describe the solution you'd like
2 possible solutions can exist:
- Remap the rolename from the JWT (may require additional config)
- Allow renaming the default admin role in hasura itself (preferred from a DX point of view)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.