0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 04:08:25 +01:00
gitea/models/repo
Lunny Xiao cf1a38b03d
Fix get reviewers' bug (#32415) (#32616)
This PR rewrites `GetReviewer` function and move it to service layer.

Reviewers should not be watchers, so that this PR removed all watchers
from reviewers. When the repository is under an organization, the pull
request unit read permission will be checked to resolve the bug of

Fix #32394
Backport #32415
2024-11-23 12:42:58 +08:00
..
archiver.go
attachment_test.go
attachment.go
avatar_test.go
avatar.go
collaboration_test.go
collaboration.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
fork_test.go
fork.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror_test.go
pushmirror.go
redirect_test.go
redirect.go
release_test.go
release.go
repo_indexer.go
repo_list_test.go
repo_list.go
repo_test.go
repo_unit_test.go
repo_unit.go Allow everyone to read or write a wiki by a repo unit setting (#30495) 2024-04-17 15:58:37 +00:00
repo.go
search.go
star_test.go
star.go
topic_test.go
topic.go
update.go
upload.go
user_repo_test.go Fix get reviewers' bug (#32415) (#32616) 2024-11-23 12:42:58 +08:00
user_repo.go Fix get reviewers' bug (#32415) (#32616) 2024-11-23 12:42:58 +08:00
watch_test.go
watch.go
wiki_test.go
wiki.go