]> source.dussan.org Git - gitea.git/commit
Get repo assignees and reviewers should ignore deactivated users (#30770) (#30783)
author6543 <6543@obermui.de>
Tue, 30 Apr 2024 13:20:34 +0000 (15:20 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2024 13:20:34 +0000 (15:20 +0200)
commit954962ca6147562ddbbaa99860027181039638e7
treefce7aa8dd2f27d377a52235bada5ba5b3d0cddbc
parentaa3c76159abf908a14187e6b1e319a198451ffff
Get repo assignees and reviewers should ignore deactivated users (#30770) (#30783)

Backport https://github.com/go-gitea/gitea/pull/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