]> source.dussan.org Git - gitea.git/commit
Hide limited users if viewed by anonymous ghost (#25214) (#25224)
authorGiteabot <teabot@gitea.io>
Tue, 13 Jun 2023 07:26:47 +0000 (03:26 -0400)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 07:26:47 +0000 (03:26 -0400)
commita9ebf911faefb286d25c3731668740e0b2ed1904
treebb4962a809b6964ca63cbc68d82ca9836a41400e
parentde6ac4bf2a445a7854bbd9a603accf3d8118a719
Hide limited users if viewed by anonymous ghost (#25214) (#25224)

Backport #25214 by @KN4CK3R

The ghost user leads to inclusion of limited users/orgs in
`BuildCanSeeUserCondition`.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
models/packages/container/search.go