View definition

(RepositoryAddCollaboratorOptions).Permission

Defined in github.com/google/go-github/github/repos_collaborators.go

Description

Permission specifies the permission to grant the user on this repository. Possible values are:

pull - team members can pull, but not push to or administer this repository
push - team members can pull and push, but not administer this repository
admin - team members can pull, push and administer this repository

Default value is "push". This option is only valid for organization-owned repositories.

Permission is referenced in 1 repository

github.com/google/go-github