1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 02:04:27 +00:00
KN4CK3R 1b630ff7cd
Fix user visible check (#21210)
Fixes #21206

If user and viewer are equal the method should return true.
Also the common organization check was wrong as `count` can never be
less then 0.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-09-20 15:59:20 +08:00
..
2019-05-04 11:45:34 -04:00
2022-09-20 15:59:20 +08:00
2022-09-20 15:59:20 +08:00
2022-09-20 15:59:20 +08:00
2020-08-16 23:07:38 -04:00
2020-08-16 23:07:38 -04:00
2020-08-16 23:07:38 -04:00
2019-12-15 08:11:31 +00:00
2019-12-07 17:04:19 -05:00
2021-02-11 18:32:25 +01:00
2019-12-11 23:23:05 -05:00
2022-09-20 15:59:20 +08:00
2022-09-20 15:59:20 +08:00
2022-09-20 15:59:20 +08:00