]> source.dussan.org Git - gitea.git/commit
Get repo assignees and reviewers should ignore deactivated users (#30770) (#30782)
author6543 <6543@obermui.de>
Tue, 30 Apr 2024 15:36:28 +0000 (17:36 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2024 15:36:28 +0000 (15:36 +0000)
commit022eac4ac8e59f861237cc1e02f7ef117eaf8e30
tree36c00a4011a82392c4bac5d6ba174e032d24cd80
parenta75b0d281351526912c7c63295f7c5171617f053
Get repo assignees and reviewers should ignore deactivated users (#30770) (#30782)

Backport  #30770

If an user is deactivated, it should not be in the list of users who are
suggested to be assigned or review-requested.

old assignees or reviewers are not affected.

---
*Sponsored by Kithara Software GmbH*
models/repo/user_repo.go
models/repo/user_repo_test.go
tests/integration/api_repo_test.go