You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got a profile table that has a column userId, which has a relation to auth.user.id
I have added a new permission variable X-Hasura-profile-id
I pushed everything, ran nhost config pull and nhost up in my local environment
I checked my users JWT token and it has x-hasura-profile-id included in the claims with the correct profile ID. However, I cannot select this in the dropdown when I am trying to setup a new rule, it just does not show up:
Am I missing something? When I copy & paste X-Hasura-profile-id it just gets overwritten with X-Hasura-user-id
The text was updated successfully, but these errors were encountered:
another issue that might be related to this: I have changed data in hasura in an unrelated table and it created the following update to my public_friend_view.yaml file, even though nothing has changed:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Discussed in #2386
Originally posted by felixhagspiel November 26, 2023
hey all,
I am currently trying to setup a permissions variable for my
profile
table as mentioned here: https://docs.nhost.io/graphql/permissions#permission-variablesHere is what I have:
X-Hasura-profile-id
nhost config pull
andnhost up
in my local environmentI checked my users JWT token and it has
x-hasura-profile-id
included in the claims with the correct profile ID. However, I cannot select this in the dropdown when I am trying to setup a new rule, it just does not show up:Am I missing something? When I copy & paste
X-Hasura-profile-id
it just gets overwritten withX-Hasura-user-id
The text was updated successfully, but these errors were encountered: