Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to synchronise user config with AppStoreConnect #5

Open
orj opened this issue Mar 9, 2020 · 2 comments
Open

Command to synchronise user config with AppStoreConnect #5

orj opened this issue Mar 9, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@orj
Copy link
Member

orj commented Mar 9, 2020

As a user
I want to be able to synchronise AppStore Connect users with a file
So that I can keep my user configuration in source control and practice infrastructure-as-code principles with AppStore Connect.


I should be able to have a file that contains the canonical information about users in App Store Connect.

Ideally this command should not require state. It would consider the input files as the canonical source of information and push that into the AppStore Connect API.

You would have a file (yaml, csv, json) on disk that would have all the details of users, their roles and the apps they should have access to. If the CLI had the right level of permissions on the account it could create/delete/modify all users.

⚠️ The tool should support a --dry-run option that only prints what would happen and doesn't actually take action on the AppStore Connect API.

🚨Note that this sync function should never delete users with the ACCOUNT_HOLDER role. It probably can't anyway but it shouldn't try.

@DechengMa
Copy link
Contributor

DechengMa commented Mar 23, 2020

For users who are not in AppStore connect but in local config files, do we want to send invitation to them?

@orj
Copy link
Member Author

orj commented Mar 23, 2020

@DechengMa Yep, they should get an invite which is a seperate API.

@orj orj added the enhancement New feature or request label Mar 27, 2020
@orj orj added this to the Initial Release milestone Mar 27, 2020
@huwr huwr self-assigned this Mar 31, 2020
@orj orj modified the milestones: Version 0.1.0, 1.0 Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants