Skip to content

Adding a team to a repo missing permissions #292

Closed

Description

@timbeks

Hi,

I'm trying to add a team to a repository with the pull/push/admin rights, but the original addTeam with an array of strings for the repo's is deprecated. According to the documentation (https://developer.github.com/v3/orgs/teams/#add-team-repo) you should use teams->addRepository. But at this time, you can't supply the argument anywhere.

Also, in the methods of team, it uses for repository()/addRepository()/removeRepository() the var $username, but this should be $organization.

Activity

  1. acrobat commented on Dec 6, 2016

    @acrobat
    Collaborator

    @cursedcoder issue can be closed. The missing parameter was added in #388 and I've created a PR (#483) for the incorrect parameter name.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions