I see in the documentation (https://neo4j.com/docs/graphql-manual/current/auth/authorization/allow/), you can use auth with allow across relationship.
However, I want to add read and edit properties on the relationship.
Hey, I had a similar situation here: https://www.reddit.com/r/Neo4j/
What people responded on the discord:
- The where clause transcribes to a cypher "all" clause so if only some of the where conditions are matched in the different relationships, then it will not work.
- To access a relationship property there seems to be no way of doing this right now inside @auth so the best solution for this is to make a custom resolver and pass some custom cypher that checks for the relationship property in there.
Late but hope that helps 🙂