I wish to know if it is possible have a filter in @auth directive based on a path existing between a node id provided in the JWT (user id) and the node being fetched. My current understanding is that this is not possible using the GraphQL API in Dgraph at all?
Exactly what the network looks like between the start and finish node is not something I want to concern myself with at all in the @auth-directive. I want to be able manage how and customize that intermediary network that represents the authorization independently.
Edit. added a diagram, let’s say I query for resources and want to filter for “User I” having a path to each resources Write node in my @auth directive, then I should only get Resource X returned.