When there is no branch protected, the reviews of those who have code write permission should be consider as official #5004

Closed
opened 2025-11-02 06:10:42 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @lunny on GitHub (Mar 6, 2020).

As above.

If no branch protected, then no official review. Should we change that?

Originally created by @lunny on GitHub (Mar 6, 2020). As above. If no branch protected, then no official review. Should we change that?
GiteaMirror added the pr/breakingissue/confirmedtype/enhancement labels 2025-11-02 06:10:42 -06:00
Author
Owner

@guillep2k commented on GitHub (Mar 6, 2020):

I thought it was always official unless there's a whitelist and the user is not in it. Maybe we've missed that case for unprotected branches?

@guillep2k commented on GitHub (Mar 6, 2020): I thought it was _always_ official unless there's a whitelist and the user is not in it. Maybe we've missed that case for unprotected branches?
Author
Owner

@lunny commented on GitHub (Mar 6, 2020):

@guillep2k see https://github.com/go-gitea/gitea/blob/master/models/review.go#L195 , when there is no branch protected, no reviewer will be consider as official.

@lunny commented on GitHub (Mar 6, 2020): @guillep2k see https://github.com/go-gitea/gitea/blob/master/models/review.go#L195 , when there is no branch protected, no reviewer will be consider as official.
Author
Owner

@guillep2k commented on GitHub (Mar 6, 2020):

As Syndrome said: "if everyone is special, then nobody is special" 😄

I agree, I think those should be "official".

@guillep2k commented on GitHub (Mar 6, 2020): As Syndrome said: _"if everyone is special, then **nobody** is special"_ 😄 I agree, I think those should be "official".
Author
Owner

@stale[bot] commented on GitHub (May 6, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (May 6, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@lunny commented on GitHub (Feb 18, 2025):

I think this has been resolved by #32415

@lunny commented on GitHub (Feb 18, 2025): I think this has been resolved by #32415
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5004