Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-5238

API allows to change avatar for ServiceUser's but with no effect

    XMLWordPrintable

Details

    Description

      When I call UserService.updateAvatar(user, base64encodedImage) with an ordinary user, the avatar gets updated as expected. However, if I call this method with a ServiceUser, I only see the default avatar image. It looks like the avatar does not get updated.

      I would expect to either change the API if this is an expected behavior so that this method cannot be called with a ServiceUser or at least raise an exception or otherwise (much preferred!) to allow setting the avatar for ServiceUser's. This would be a great feature for add-ons that execute actions as a service user because they do not count to the number of users allowed in the Stash license of the customer.

      Attachments

        1. avatar.png
          5 kB
          Mibex Software

        Issue Links

          Activity

            People

              mheemskerk Michael Heemskerk (Inactive)
              c0a282aaf163 Mibex Software
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: