gitlab-org--gitlab-foss/app/views/layouts
Douwe Maan f23b1cb453 Merge branch 'jej-23867-use-mr-finder-instead-of-access-check' into 'security'
Replace MR access checks with use of MergeRequestsFinder

Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867

⚠️ - Potentially untested
💣 - No test coverage
🚥 - Test coverage of some sort exists (a test failed when error raised)
🚦 - Test coverage of return value (a test failed when nil used)
 - Permissions check tested

- [x] 💣  app/finders/notes_finder.rb:17
- [x] ⚠️  app/views/layouts/nav/_project.html.haml:80 [`.count`]
- [x] 💣  app/controllers/concerns/creates_commit.rb:84
- [x] 🚥  app/controllers/projects/commits_controller.rb:24
- [x] 🚥  app/controllers/projects/compare_controller.rb:56
- [x] 🚦  app/controllers/projects/discussions_controller.rb:29
- [x]   app/controllers/projects/todos_controller.rb:27
- [x] 🚦  app/models/commit.rb:268
- [x]  lib/gitlab/search_results.rb:71

- [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_267_266 Memoize ` merged_merge_request(current_user)`
- [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_248_247 Expected side effect for `merged_merge_request!`, consider `skip_authorization: true`.
- [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_269_269 Scary use  of unchecked `merged_merge_request?`

See merge request !2033
2016-12-08 21:42:07 -03:00
..
header Add shortcut for SRs to Skip to content for a11y 2016-11-17 19:41:51 +05:30
nav Merge branch 'jej-23867-use-mr-finder-instead-of-access-check' into 'security' 2016-12-08 21:42:07 -03:00
_bootlint.haml
_broadcast.html.haml
_flash.html.haml
_google_analytics.html.haml
_head.html.haml Removed data-user-is view code 2016-11-25 13:45:34 +01:00
_init_auto_complete.html.haml
_page.html.haml Add ID for a11y shortcut href 2016-11-17 19:42:20 +05:30
_page_title.html.haml
_piwik.html.haml
_search.html.haml 24146 Add focus state to buttons and dropdowns 2016-11-08 10:03:17 -08:00
admin.html.haml
application.html.haml
dashboard.html.haml
devise.html.haml Add custom text to column 2016-11-03 12:29:41 -05:00
devise_empty.html.haml
devise_mailer.html.haml
errors.html.haml Fix appearance in error pages 2016-11-29 11:44:07 -07:00
explore.html.haml
group.html.haml
group_settings.html.haml
help.html.haml
koding.html.haml
notify.html.haml
profile.html.haml
project.html.haml
project_settings.html.haml
search.html.haml
snippets.html.haml