Skip to content

Role switching - Post-update check not working as expected #6972

Answered by matchatype
matchatype asked this question in Question
Discussion options

You must be logged in to vote

This has actually been answered on Discord by @leoalves but I'd like to hold a reference to it here in case somebody else might need it. In short, x-hasura-allowed-roles is used by Hasura to determine if a token can have use the x-hasura-role or not. That is not passed into the permissions and so cannot be used.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by matchatype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant