Skip to content

Fix Group avatar API endpoint

Kassio Borges requested to merge kassio/fix-group-avatar-api into master

What does this MR do?

Instead of using avatar.file.file, which is a private API when using object storage, rely on avatar.filename which is the public API to fetch the avatar filename regardless of it being in the object storage or locally in the system.

Fixes https://sentry.gitlab.net/gitlab/staginggitlabcom/issues/2696867

Related to #334872 (closed)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Kassio Borges

Merge request reports

Loading