I’m trying to find a way that for a given user and org, check for org membership and repos they are a collaborator (i.e. they have access to the repo).
Looking through example queries for GraphQL, I can’t see a way to achieve this without getting all members and collaborators and looking for the specific user.
Is that correct? or is there a more efficient way I could do this?