-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reviewer access control #23
Comments
Doing it based on a group would mean that you couldn't configure per-repo. |
Ugh, good point. I just hate having to manually manage lists for every repo I want to add to Homu. Could we use |
That just feels like a bandaid to me, when they will need to logon to patronus anyways? |
Reviewers need to log in to patronus once ever, but we shouldn't let them nominate themselves to be reviewers. The owner of the repo needs to be able to set reviewers for the repo, and I'm already mad at Homu and I've only had to copy and paste the Bundler core team's usernames for three repos so far. |
(Also we could maybe send an email to github users who have never logged in to patronus before when they're added as reviewers, telling them they're invited and asking them to log in so they gain approval power? ¯_(ツ)_/¯) |
Ah. Well right now it's all self-nomination. How do we define "owner"? |
Has admin permission on the repo? For Homu, that means the repo is either on that person's account (and webhooks are added automatically) or the user has access to add webhooks to the repo on the org. Either way that seems like proof they are an admin... I'd be happy with anyone in @org/owners having admin/invite privs? |
Now that @org/owners has been demoted, we'll need to use the GitHub API to figure out who has admin and/or write permissions on the repo. I think I'd like something like this:
|
Currently in #40:
Maybe we should discuss the fix and the caveat, maybe even before merging #40... |
For org accounts, allow anyone in the @org/reviewers group to approve, on non-org accounts, maybe just any collaborator? Should this be configurable?
If someone on the reviewers team but who has never logged in to patronus approves, can we set the PR status to an error like "can't merge until you log in to patronus"?
The text was updated successfully, but these errors were encountered: