ittybittyapps / appstoreconnect-cli

An easy to use command-line tool for interacting with the Apple AppStore Connect API
MIT License
174 stars 17 forks source link

Bug: When listing users filtering by visible apps does not appear to work #212

Closed orj closed 4 years ago

orj commented 4 years ago

🌎 Environment

💬 Description

When listing users and attempting to filter users who can only access certain apps, instead of filtering by visible apps it seems to return no users.

🦶 Reproduction Steps

Steps to reproduce the behavior, provide an example of the command line issued:

  1. Run swift run asc users list --include-visible-apps --filter-visible-apps iba.test2

🤔 Expected Results

That the users who have access to iba.test2 app are shown.

😲 Actual Results

+----------+------------+-----------+------+----------------------+------------------+--------------+
| Username | First Name | Last Name | Role | Provisioning Allowed | All Apps Visible | Visible Apps |
+----------+------------+-----------+------+----------------------+------------------+--------------+

+----------+------------+-----------+------+----------------------+------------------+--------------+
orj commented 4 years ago

It seems you have to specify the app's id not bundleId when filtering by visible apps.