diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-06-14 14:11:13 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-06-14 14:11:13 +0000 |
commit | d4cd6dcaa024f8eca9089e67fb9b97022696d3e0 (patch) | |
tree | 2d7177f94ec9b51d470389ffc86476d49c36cc0d /lib/api | |
parent | 95a7fbe97cebdf3e4249a99b6729ffb410398e4f (diff) | |
parent | 63900c1dcfa477ab573e7fd57d8b3e5cc2ecf6cf (diff) | |
download | gitlab-ce-d4cd6dcaa024f8eca9089e67fb9b97022696d3e0.tar.gz |
Merge branch 'settings-dropdown-permissions' into 'master'
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:

Guest members of the project:

Full permissions:

cc: @dzaporozhets @annabeldunstone @jschatz1
See merge request !4599
Diffstat (limited to 'lib/api')
0 files changed, 0 insertions, 0 deletions