Skip to content

Resolve "Private Avatars are not CDN compatible"

What does this MR do?

It adapts our avatar logic for project and groups to take into consideration if they are private or not and based on that it will use the currently set CDN Url or not for displaying. Part of this was the adaption of group_icon method to deliver an actual image and not an url anymore so it is inline how project_icon works.

Why was this MR needed?

So private project or group avatars also work with a set CDN

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #38245 (closed)

Closes https://gitlab.com/gitlab-com/support-forum/issues/2476

Edited by John Northrup

Merge request reports