Skip to content

Fixes the 500 for custom apearance header logo and logo

What does this MR do?

Fixes the access to custom logos and header logos as defined in the "Appearance" admin section.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

It's a regression bug introduced by 43ff7386 (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11022).

The Appearance model was not authorized anymore in the UploadsController. This lead to customized logo and header logo not to be shown anymore

The development of this bugfix is sponsored by @siemens (/cc @bufferoverflow)

Screenshots (if relevant)

before

Projects___Dashboard___GitLab

after

Projects___Dashboard___GitLab_1_

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by username-removed-81730

Merge request reports

Loading