1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-21 23:24:29 +00:00
KN4CK3R 7690de56f7
Simplify visibility checks (#20406)
Was looking into the visibility checks because I need them for something different and noticed the checks are more complicated than they have to be.

The rule is just: user/org is visible if
- The doer is a member of the org, regardless of the org visibility
- The doer is not restricted and the user/org is public or limited
2022-07-21 11:41:50 +01:00
..
2022-01-20 18:46:10 +01:00
2022-07-12 23:32:37 +02:00
2022-07-21 11:41:50 +01:00
2022-07-14 08:22:09 +01:00
2022-07-14 08:22:09 +01:00