7690de56f7
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 |
||
---|---|---|
.. | ||
avatar.go | ||
email_address.go | ||
email_address_test.go | ||
error.go | ||
external_login_user.go | ||
follow.go | ||
follow_test.go | ||
list.go | ||
main_test.go | ||
openid.go | ||
openid_test.go | ||
redirect.go | ||
redirect_test.go | ||
search.go | ||
setting.go | ||
setting_keys.go | ||
setting_test.go | ||
user.go | ||
user_test.go |