The Rust Team uses a git repository to define all our subteams and the permissions each user/team has. We then have cronjobs synchronizing the information in that team with most of our services requiring authentication (GitHub Teams, bots, code reviews…).
The Rust Infrastructure Team might need to manage some groups on Mozillians/people.mozilla.org in the future, and it would be nice to have an API to automatically synchronize them with the contents of that git repository.
The only API we’d need is some way to synchronize the group membership with GitHub IDs/usernames. We’re fine with either a single API call to override the full members list, or an API to get the current members and an API to add/delete single members (with the synchronization code on our client).
Is this something that could be implemented?