'users' command can't decode the response when the user role has certain "Additional Resources". So far the "Create Apps" and "Access to Cloud Managed Developer ID Certificate" are the two giving me errors.
🦶 Reproduction Steps for "Create Apps" Additional Resources
A user has the "Developer" role, and "Create Apps" as "Additional Resources" in the AppStoreConnect UI.
Run this $ asc users info --api-issuer <issuer-id> --api-key-id <key-id> -v <user-email>
🤔 Expected Results
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
| Username | First Name | Last Name | Role | Provisioning Allowed | All Apps Visible | Visible Apps |
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
| myname@gmail.com | Firstname | Lastname | DEVELOPER, CREATE_APPS | No | Yes | |
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
If I removed "Create_Apps" from the AppStoreConnect UI, the same command will give me the correct output:
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
| Username | First Name | Last Name | Role | Provisioning Allowed | All Apps Visible | Visible Apps |
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
| myname@gmail.com | Firstname | Lastname | DEVELOPER | No | Yes | |
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
🦶 Reproduction Steps for "Access to Cloud Managed Developer ID Certificate" Additional Resources
A user has the "Admin" role, and all the choices are checked under "Additional Resources" in the AppStoreConnect UI. I'm not sure how it gets checked for "Access to Cloud Managed Developer ID Certificate" in the first place, as if I remove the "Admin" role and then add the "Admin" role back, I can't manually check the "Access to Cloud Managed Developer ID Certificate" from the AppStoreConnect UI (it grayed out).
Run this $ asc users info --api-issuer <issuer-id> --api-key-id <key-id> -v <user-email>
🤔 Expected Results
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
| Username | First Name | Last Name | Role | Provisioning Allowed | All Apps Visible | Visible Apps |
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
| myname@gmail.com | Firstname | Lastname | ADMIN,CLOUD_MANAGED_DEVELOPER_ID | No | Yes | |
+--------------------------+------------+-----------+-----------+----------------------+------------------+--------------+
🌎 Environment
💬 Description
'users' command can't decode the response when the user role has certain "Additional Resources". So far the "Create Apps" and "Access to Cloud Managed Developer ID Certificate" are the two giving me errors.
🦶 Reproduction Steps for "Create Apps" Additional Resources
$ asc users info --api-issuer <issuer-id> --api-key-id <key-id> -v <user-email>
🤔 Expected Results
😲 Actual Results
(Removed the PII from console output)
If I removed "Create_Apps" from the AppStoreConnect UI, the same command will give me the correct output:
🦶 Reproduction Steps for "Access to Cloud Managed Developer ID Certificate" Additional Resources
$ asc users info --api-issuer <issuer-id> --api-key-id <key-id> -v <user-email>
🤔 Expected Results
😲 Actual Results
(Removed the PII from console output)