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

Support Tools Banner can't be dismissed by ADMIN

    XMLWordPrintable

Details

    Description

      Summary

      The banner letting users know that their maintenance is about to expire is shown to ADMIN level users. However the REST endpoint that handles hiding the banner requires SYS_ADMIN level privileges.
      This means that hiding the banner as an ADMIN can never succeed and the banner will continue to be shown.

      Steps to Reproduce

      1. Create user
      2. Give user ADMIN permission
      3. Enter license that expires in under 30 days
      4. Try to dismiss the banner that is shown

      Expected Results

      The banner is dismissed.

      Actual Results

      The banner is not dismissed and appears on subsequent page loads.
      A 401 Unauthorized error is logged to the Browser console.

      Workaround

      Temporarily elevate the user's permission to SYS_ADMIN to dismiss the banner or lower the user's permission below ADMIN (the banner is only shown to users with ADMIN or higher permission)

      Attachments

        Issue Links

          Activity

            People

              fhaehnel Felix
              fhaehnel Felix
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: