Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Schema Inaccuracy] PUT /repos/{owner}/{repo}/collaborators/{username}: permission parameter & custom role names #564

Open
gr2m opened this issue Sep 22, 2021 · 0 comments
Labels

Comments

@gr2m
Copy link
Collaborator

gr2m commented Sep 22, 2021

See https://github.com/github/rest-api-description/pull/561/files#r714162574

@imwiss the description addition says that permission can be set to a custom role name

custom repository role name - Can assign a custom repository role if the owning organization has defined any.

But the property has an enum that does not permit custom values. It only permits

* `pull`
* `push`
* `admin`
* `maintain`
* `triage`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants