Skip to content

Fix 403 Access Denied error messages when accessing Labels section in a project

Stan Hu requested to merge stanhu/gitlab-ce:fix-labels-permisssion-check into master

This would occur if the project's issues or merge requests features were disabled. The change in 9bcd3639 caused can?(current_user, :read_merge_request, project) to be false if the merge request feature were disabled, so authorize_labels! needs to be changed accordingly.

Closes #1813 (closed)

Merge request reports

Loading