sfdxAuthURL check prevents use of free DX users
Describe the bug As a partner, our CI Users are "Salesforce Limited Access - Free" https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/dev_hub_license.htm
When using this license, the prepare command fails:
ERROR running sfpowerscripts:orchestrator:prepare: Unable to execute command .. INVALID_TYPE: sObject type 'Organization' is not supported.
This is because the Organization object is queried during that check (but the queried data is not used in this particular check) and that object required the View Setup and Config permission, which the free license cannot be assigned.
To Reproduce Steps to reproduce the behavior:
- Have CI user WITHOUT
View Setup and ConfigSystem Permission, such as the "Salesforce Limited Access - Free" DX users. - Run
sfpowerscripts:orchestrator:prepareas this user
Expected behavior Scratch org pool to be built.
Acutal:
ERROR running sfpowerscripts:orchestrator:prepare: Unable to execute command .. INVALID_TYPE: sObject type 'Organization' is not supported.
Platform Details (please complete the following information):
- Version : @dxatscale/sfpowerscripts 13.2.4 (alpha)
- Salesforce CLI(sfdx cli) Version: sfdx-cli/7.120.0 linux-x64 node-v14.18.0
- CI Platform: CircleCI