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

Permission changes do not display vetos when canceled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.2.0
    • None
    • None
    • None

    Description

      Problem definition

      When vetoing a permission change using one of the Global, Project or Repository *PermissionGrantRequestedEvent, *PermissionModificationRequestedEvent or *PermissionRevocationRequestedEvent types, the vetoes are not displayed in the UI. Instead, all the UI shows is "Permission grant canceled", "Permission modification canceled" or "Permission revocation canceled", respectively. That's not very helpful for users when it comes to understanding why they can't do something.

      Steps to Reproduce

      Install a custom app which listens for a cancelable permission event and cancels it.

      Expected Results

      The message provided when the event was canceled is displayed in the UI.

      Actual Results

      A canned message like "Permission grant canceled" is displayed, with no details about why the operation was canceled.

      Notes

      The server's REST response for the operation already includes the veto messages in a "details" list, but the UI does not display them.

      Workaround

      No workaround available.

      Attachments

        1. migration.png
          migration.png
          404 kB
        2. migration.png
          migration.png
          404 kB
        3. grant-canceled.png
          grant-canceled.png
          8 kB

        Issue Links

          Activity

            People

              cbaba@atlassian.com Carla Baba
              bturner Bryan Turner (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: