Collaborators check API requires Members read permissions to get "implicit" collaborator information

API: https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator

> For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.

The “organization members with access through default organization permissions” is only true for private repos if you have Members read permissions as well based on my testing. Without members read permissions, you will always get a 404 even if the user is a collaborator via organization settings.

  • Is this something you can confirm?
  • Could the docs be updated to reflect this nuance?
  • Meta: are the docs on GitHub? I was hoping to actually just create a pull request to update the docs vs. posting here.

Thanks,