BigW Consortium Gitlab
Fix displaying of project settings links the user cannot access. ## What does this MR do? It fixes the Project Settings dropdown displaying project settings links that the user cannot actually access. ## Are there points in the code the reviewer needs to double check? I've tested combinations I can think of, feel free to mess around with and see if it breaks? ## Why was this MR needed? Users were seeing links in the Project Settings dropdown that they shouldn't have seen, if they clicked them they would be shown permission errors. ## What are the relevant issue numbers? #18294 ## Screenshots (if relevant) Users without any permissions: ![Screen_Shot_2016-06-10_at_10.41.27_AM](/uploads/b70ca18a36b5f774b85694d8f1728882/Screen_Shot_2016-06-10_at_10.41.27_AM.png) Guest members of the project: ![Screen_Shot_2016-06-10_at_10.48.36_AM](/uploads/a37986b4daa789063661c2fa8cf59d43/Screen_Shot_2016-06-10_at_10.48.36_AM.png) Full permissions: ![Screen_Shot_2016-06-10_at_10.41.57_AM](/uploads/4c5cc97962e69a1a72ee8e237591ec22/Screen_Shot_2016-06-10_at_10.41.57_AM.png) cc: @dzaporozhets @annabeldunstone @jschatz1 See merge request !4599
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ci | Loading commit data... | |
header | Loading commit data... | |
nav | Loading commit data... | |
_bootlint.haml | Loading commit data... | |
_broadcast.html.haml | Loading commit data... | |
_collapse_button.html.haml | Loading commit data... | |
_flash.html.haml | Loading commit data... | |
_google_analytics.html.haml | Loading commit data... | |
_head.html.haml | Loading commit data... | |
_init_auto_complete.html.haml | Loading commit data... | |
_page.html.haml | Loading commit data... | |
_page_title.html.haml | Loading commit data... | |
_piwik.html.haml | Loading commit data... | |
_search.html.haml | Loading commit data... | |
_user_styles.html.haml | Loading commit data... | |
admin.html.haml | Loading commit data... | |
application.html.haml | Loading commit data... | |
dashboard.html.haml | Loading commit data... | |
devise.html.haml | Loading commit data... | |
devise_empty.html.haml | Loading commit data... | |
devise_mailer.html.haml | Loading commit data... | |
errors.html.haml | Loading commit data... | |
explore.html.haml | Loading commit data... | |
group.html.haml | Loading commit data... | |
group_settings.html.haml | Loading commit data... | |
help.html.haml | Loading commit data... | |
notify.html.haml | Loading commit data... | |
profile.html.haml | Loading commit data... | |
project.html.haml | Loading commit data... | |
project_settings.html.haml | Loading commit data... | |
search.html.haml | Loading commit data... | |
snippets.html.haml | Loading commit data... |