"Default Access Group" tag doesn't reflect accurate information from the database under Product Access page

XMLWordPrintable

    • Minor

      Issue Summary

      When adding the group jira-software-users as a default group for the Jira Core/Confluence product access and trying to remove it, the UI doesn't show the same information that reflected on the database.

      Steps to Reproduce

      1. Go to Administartion > under SITE SETTINGS > Product access. Add jira-software-users group for Jira Core/Confluence.
      2. Make jira-software-users group default by clicking on make this group default.
      3. Remove jira-software-users as a default group choosing Don't make this group default
      4. If you try to add any other group as default, on the backend the change will be successful, but on the UI you won't see the change being reflected

      Expected Results

      The jira-software-users should not have the label DEFAULT GROUP ACCESS.

      Actual Results

      On the UI:

      The response from the back-end:

      {
        "useAccessConfig": [
          {
            "product": {
              "productId": "jira-core",
              "canonicalProductKey": "jira-core",
              "productName": "Jira Core"
            },
            "groups": [
              {
                "id": "70d03e97-c6fc-4b7c-af89-56890c2f0c34",
                "name": "administrators",
                "requiresApproval": false,
                "productPermission": [
                  "WRITE",
                  "MANAGE"
                ],
                "default": false
              },
              {
                "id": "613e6059-9118-4800-b1f7-b3927f60ec1f",
                "name": "Analysts",
                "requiresApproval": false,
                "productPermission": [
                  "WRITE"
                ],
                "default": true
              },
              {
                "id": "c9537bca-b7aa-4b89-9801-472283594f6b",
                "name": "jira-core-users",
                "requiresApproval": false,
                "productPermission": [
                  "WRITE"
                ],
                "default": true
              },
              {
                "id": "b635efa1-e3ec-49c3-a0bc-80685945f0ab",
                "name": "jira-software-users",
                "requiresApproval": false,
                "productPermission": [
                  "WRITE"
                ],
                "default": false
              },
              {
                "id": "9988ba98-e7cc-4f71-8b95-ecf36d220625",
                "name": "site-admins",
                "requiresApproval": false,
                "productPermission": [
                  "WRITE",
                  "MANAGE"
                ],
                "default": false
              }
            ]
          }
        ]
      }
      

      Workaround

      1. Access old UM UI: https://<instance>.atlassian.net/admin?react=false
      2. Go to Application access > View Configuration
      3. Uncheck the affected groups to remove the group from the Application(s)
      Notes

      The same behavior apllies to other groups, and it stops after a while.

        1. fig1.png
          80 kB
          Fábio W. [Atlassian]

            Assignee:
            Unassigned
            Reporter:
            Fábio W. [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: