]> source.dussan.org Git - gitea.git/commit
Allow users to self-request a PR review (#19030)
authorNorwin <noerw@users.noreply.github.com>
Tue, 8 Mar 2022 21:48:47 +0000 (22:48 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Mar 2022 21:48:47 +0000 (22:48 +0100)
commiteceab9e26f671318d3b50e622736a514f384aee6
treeac83f24a8114aaef59e0ef225f4a2bfccbb8b179
parente73c5fd698a8979a015c43625941aa82ac7a8bf9
Allow users to self-request a PR review (#19030)

The review request feature was added in https://github.com/go-gitea/gitea/pull/10756,
where the doer got explicitly excluded from available reviewers. I don't see a
functionality or security related reason to forbid this case.

As shown by GitHubs implementation, it may be useful to self-request a review,
to be reminded oneselves about reviewing, while communicating to team mates that a
review is missing.

Co-authored-by: delvh <dev.lh@web.de>
models/repo.go
models/repo_test.go
services/issue/assignee.go