hasura / hasura/graphql-engine

highlight the unauthorized role in console permissions page

Open
#7,631 0 comments 1 reaction 0 assignees View on GitHub
c/console estimate/M k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Is your proposal related to a problem?

When the unauthorized role is configured via `HASURA_GRAPHQL_UNAUTHORIZED_ROLE`, the only way to look at this value is through wherever the env is configured (either on docker-compose or on Hasura Cloud Env Vars page).

### Describe the solution you'd like

It would be nice to highlight this role inside the Hasura Console permissions page to make it easy to identify and define appropriate permissions.

This env is also a candidate for moving to the Hasura metadata config.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Hasura Console permissions page and tracing how the HASURA_GRAPHQL_UNAUTHORIZED_ROLE value is exposed to it. Confirm how roles are listed and how permissions are defined. Done means the configured unauthorized role is clearly highlighted so users can identify it and assign appropriate permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authorization, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.