Fix 500 error from `visibleForks` when user is not authorized
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/416638 **Problem** When user is not authorized, then `visible_to_user_and_access_level` scope raises an exception. **Solution** Return an empty collection of visible forks with minimal access for unauthorized users. Changelog: fixed
加载中
想要评论请 注册 或 登录