-
- Downloads
Hide clone panel and file list when user is only a guest
Fixes gitlab-org/gitlab-ce#17489 Fix test finding two of the same element Capybara will raise an exception because it finds two elements that match .nav-links. This means this test would fail, even if the page meets the conditions for passing the test. Add more tests for guest access
Showing
- app/controllers/projects_controller.rb 1 addition, 1 deletionapp/controllers/projects_controller.rb
- app/helpers/preferences_helper.rb 1 addition, 1 deletionapp/helpers/preferences_helper.rb
- app/views/projects/_home_panel.html.haml 1 addition, 1 deletionapp/views/projects/_home_panel.html.haml
- changelogs/unreleased/17489-hide-code-from-guests.yml 4 additions, 0 deletionschangelogs/unreleased/17489-hide-code-from-guests.yml
- spec/features/projects/guest_navigation_menu_spec.rb 48 additions, 1 deletionspec/features/projects/guest_navigation_menu_spec.rb
Please register or sign in to comment