I want to make the "user.displayName" column to be made public to other logged in users. I know I can write a custom SQL view but I want to stay with Hasura. The only solution is to mimic a guest role and use the public role to expose the displayName. I can do that by removing the "Authorization" header in the Hasura request. How do I do that?
Last active 4 months ago
2 replies
12 views
- DA
I want to make the "user.displayName" column to be made public to other logged in users. I know I can write a custom SQL view but I want to stay with Hasura. The only solution is to mimic a guest role and use the public role to expose the displayName. I can do that by removing the "Authorization" header in the Hasura request. How do I do that?
- PI
If I understand correctly, you only need to add select permissions to the
user
role on theauth.users
table (only on the display name column)
Last active 4 months ago
2 replies
12 views