-
- Downloads
There was an error fetching the commit references. Please try again later.
Avoid error when no restricted levels are defined
When no visibility levels are defined they could sometimes return `nil` instead of an empty array. In this case we want to allow all levels.
Showing
- changelogs/unreleased/bvl-fix-500-on-fork-without-restricted-visibility-levels.yml 5 additions, 0 deletions...-fix-500-on-fork-without-restricted-visibility-levels.yml
- lib/gitlab/visibility_level.rb 1 addition, 1 deletionlib/gitlab/visibility_level.rb
- spec/lib/gitlab/visibility_level_spec.rb 9 additions, 0 deletionsspec/lib/gitlab/visibility_level_spec.rb
Please register or sign in to comment