-
I have a quite complex row permission custom check which involves manual configured relations of VIEWs in which I use X-Hasura-User-Id. After trying hours to figure out why my check doesn't work I've replaced X-Hasura-User-Id with a hardcoded id, and voila, it works. I've double-checked my custom check multiple times now, simplified it to double-check again, but it seems as soon as I use X-Hasura-User-Id in my manual configured relation which accesses a postgres VIEW it will not get evaluated somehow. The strange thing is, when ANALYZE'ing the query in the api explorer, the resulting queries are absolute identical. p.s. Using X-Hasura-User-Id outside of the nested items works perfectly fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
nvm, I'm dumb. |
Beta Was this translation helpful? Give feedback.
nvm, I'm dumb.