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

Owners/admins of a repo should be able to give eeyore permission to triage #5

Open
carols10cents opened this issue Feb 26, 2016 · 3 comments

Comments

@carols10cents
Copy link
Member

This should use github orgs/permissions, but whether it's "add the github user eeyorebot to a services team" or "oauth to the eeyore app and authorize the repo through the app" remains to be seen.

@carols10cents
Copy link
Member Author

Basically we should look at how https://github.com/houndci/hound does it

@carols10cents
Copy link
Member Author

Actually hound doesn't create a team anymore; they just use the collaborators API to add the hound user as a collaborator:

https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator

It looks like we could do that too-- to be able to edit issues, eeyore needs push access, and we can grant that using this API endpoint. This says the permission parameter is "Only valid on organization-owned repositories", which is what we need!

@carols10cents
Copy link
Member Author

It looks like we need to request the public_repo scope during the oauth dance.

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

No branches or pull requests

2 participants