-
Bug
-
Resolution: Fixed
-
High
-
None
-
Severity 3 - Minor
Issue Summary
Create a new user via REST API disrespect product access setting for new UI
Steps to Reproduce
- Have a site with new UI
- Go to User access settings > Any domain > Edit > Set to None
- https://admin.atlassian.com/o/<ORG ID>/user-access-settings
- This would set any new user will not be given product access by default
- 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
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.