Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Allow everyone to list repository collaborators from the web UI #444

Open

Description

@cirosantilli

This information is already leaked whenever the person comments on an issue and "Collaborator" shows on their username, so I don't think it matters.

IIUC the current situation is:

At the very least, allow other collaborators to see each other from the web UI since the information is already available on the API.

Use cases:

  • I want to know who to ping before / after implementing a large feature
  • I want to show off that I am a collaborator without linking to a comment I've made

Activity

  1. changed the title [-]Allow everyone to see repository collaborators from the web UI[/-] [+]Allow everyone to list repository collaborators from the web UI[/+] on Aug 16, 2015
  2. cirosantilli commented on Aug 10, 2017

    @cirosantilli
    CollaboratorAuthor

    @BartMassey please use the new +1 button feature instead of comments to avoid notifying people and have an automated upvote count ;-)

  3. BartMassey commented on Aug 10, 2017

    @BartMassey

    I did both, sorry. Since the issue hasn't been touched since 2015 and seems important, I thought it was worth seeing if anyone was still paying attention. Sounds like they are.

  4. waldyrious commented on Jan 9, 2018

    @waldyrious
    • owner and other collaborators can see from the API, e.g. api.github.com/repos/plasticboy/vim-markdown/collaborators?access_token=COLLABORATOR_TOKEN

    In case this saves someone the time, the same information can be gathered via the GraphQL API with the following query:

    query {
      repository(owner: "plasticboy", name: "vim-markdown") {
        collaborators(first: 100, affiliation: OUTSIDE) {
          edges {
            node {
              login
            }
          }
        }
      }
    }

    Here's a link to run this query on the GraphQL Explorer. Note that, in accordance with what has been said above, it produces a "Must have push access to view repository collaborators." error for non-collaborators.

    References/documentation: collaborators on REST API v3; collaborators on GraphQL API v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions