Uploaded image for project: 'Admin Experience'
  1. Admin Experience
  2. AX-74

Create a new user via REST API disrespect product access setting for new UI

    • Severity 3 - Minor

      Issue Summary

      Create a new user via REST API disrespect product access setting for new UI

      Steps to Reproduce

      1. Have a site with new UI
      2. Go to User access settings > Any domain > Edit > Set to None
      3. Create a new user via https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-post

      Expected Results

      User is created without product access

      Actual Results

      User is created with product access (ignoring the setting)

      Workaround

      Invite new manually via the UI

            [AX-74] Create a new user via REST API disrespect product access setting for new UI

            Rodrigo B. made changes -
            Component/s Original: Directory - Groups - Add / remove users [ 66395 ]
            Component/s New: Directory - Groups - Add / remove users [ 80139 ]
            Key Original: ID-7958 New: AX-74
            Support reference count Original: 19
            Symptom Severity Original: Minor [ 16130 ] New: Severity 3 - Minor [ 14432 ]
            Project Original: Identity [ 16810 ] New: Admin Experience [ 24210 ]
            Chris Squire made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Long Term Backlog [ 12073 ] New: Closed [ 6 ]

            Chris Squire added a comment - - edited

            Hey all,

            There's been a change recently made to the v3 users API -> https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-post.
            If you specify the `products` array in your payload, the user won't be given access to default products.
            Furthermore this new field will become mandatory in October https://developer.atlassian.com/changelog/#CHANGE-916

            Im going to close this ticket out as there is a workaround currently to stop users gaining default product access by specifying the `products` field in the API payload.

            Chris Squire added a comment - - edited Hey all, There's been a change recently made to the v3 users API -> https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-post . If you specify the `products` array in your payload, the user won't be given access to default products. Furthermore this new field will become mandatory in October https://developer.atlassian.com/changelog/#CHANGE-916 Im going to close this ticket out as there is a workaround currently to stop users gaining default product access by specifying the `products` field in the API payload.
            Bugfix Automation Bot made changes -
            Priority Original: Medium [ 3 ] New: High [ 2 ]
            SET Analytics Bot made changes -
            Support reference count Original: 18 New: 19
            SET Analytics Bot made changes -
            Support reference count Original: 17 New: 18
            SET Analytics Bot made changes -
            Support reference count Original: 16 New: 17
            SET Analytics Bot made changes -
            Support reference count Original: 15 New: 16
            SET Analytics Bot made changes -
            Support reference count Original: 14 New: 15
            SET Analytics Bot made changes -
            Support reference count Original: 13 New: 14

              Unassigned Unassigned
              rsaputra Adven
              Affected customers:
              9 This affects my team
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: