Skip to content

Add avatar images for newly created Support Bot and Alert Bot

What does this MR do?

Fixes one part of #210523

Avatar images have been obtained from #210523

This change sets the custom avatars for newly created Alert and Support Bots.

For these bots, the avatar attribute will now point to the path of the image on disk, so that, on saving the record, the avatar gets uploaded as their avatar image.

The next part would be to have a data-migration to change the avatars of existing Alert and Support Bots (in .com and in existing self-managed instances)

Screenshots

Before After
Screenshot_2020-07-08_at_12.26.20_PM Screenshot_2020-07-08_at_12.24.09_PM
Screenshot_2020-07-08_at_12.26.26_PM Screenshot_2020-07-08_at_12.24.15_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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 Manoj M J

Merge request reports