]> source.dussan.org Git - gitea.git/commit
Only show Followers that current user can access (#20220) (#20253)
authorzeripath <art27@cantab.net>
Wed, 6 Jul 2022 01:47:16 +0000 (02:47 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Jul 2022 01:47:16 +0000 (09:47 +0800)
commitb42df3105d6d94fbc758daff81a5f39d4416ed42
tree1962b27bc63a004835b33970a0a55198c82039cd
parent6162fb0a1923b03ca10e5dc0b6cb5c33a40f66a5
Only show Followers that current user can access (#20220) (#20253)

Backport #20220

Users who are following or being followed by a user should only be
displayed if the viewing user can see them.

Signed-off-by: Andrew Thornton <art27@cantab.net>
models/user/user.go
routers/api/v1/user/follower.go
routers/web/user/profile.go