Our development team was thinking to use PR system to review our code, is there any feature to block the creator of the PR to accept it?
On that example, the user administrator created de PR and accepted it.
Right now, I don't think so. Probably only possible when #2794 is done. But correct me if I'm wrong.
I'm pretty sure that you can set a collaborator's permission to 'Read', and that should grant them ability to make PRs & such, but not push directly. Although, of course, a repo admin / someone with write access would be needed to merge the PR.
resolved by https://github.com/go-gitea/gitea/pull/3689
@lunny this is not resolved by #3689 - if the PR creator is on the whitelist they can merge. #2794 was abandoned. Is there any other issue in progress that would deliver this?
@cailyoung you can set that PR needs at least one approval
@lafriks 's idea is correct.
@lafriks @lunny
Apologies, we are not running 1.6.0 or newer. I will have a chat with the team here.
So #3748 fixes this - i.e. the PR creator cannot be an approver?
@cailyoung yes, one could not approve himself PR.
Most helpful comment
Right now, I don't think so. Probably only possible when #2794 is done. But correct me if I'm wrong.