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

feat(org): support setting a default team when inviting new users #429

Open
3 tasks
Tracked by #536
darcyclarke opened this issue Jan 17, 2022 · 0 comments
Open
3 tasks
Tracked by #536
Labels

Comments

@darcyclarke
Copy link
Contributor

Summary

The CLI should support setting the default team a user is added to when invited to an organization. Currently, this always defaults to "developers" but should is now configurable on the website

Exit Criteria

  • npm org set should now support a new --team flag
    • default value is: undefined or developers whichever makes more sense
    • note: the website/registry already defaults to developers, this is just a matter of whether we want to send this value in the API request when --team isn't defined
  • Tests are written to reflect new capabilities
  • Documentation is updated to reflect new capabilities

Example

npm org set github @mona --team=npm-cli

References

Website Implementation

Screen Shot 2022-01-17 at 4 15 33 PM

@darcyclarke darcyclarke mentioned this issue Mar 23, 2022
32 tasks
@darcyclarke darcyclarke mentioned this issue Aug 22, 2022
46 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant