Description
Please provide details on the following items. Failure to do so may result in deletion of your feature request.
What's the user value of this feature request?
Allows us to script developer onboarding / remove manual step for space / org admins.
Who is the functionality for?
CF space / org admins who want to use the CLI for onboarding new teammembers
How often will this functionality be used by the user?
Whenver new team-members are onboarded (probably about once a month)
Who else is affected by the change?
Nobody that i can think of. The default behavior for set-{space/org}-role
can remain the same (i.e. default to --no-invite
)
Is your feature request related to a problem? Please describe.
Currently, there doesn't seem to be a way to "invite" new users to a space / org via the CLI. When I run
cf set-space-role [email protected] <org> <space> SpaceDeveloper
I get
No user exists with the username '[email protected]'.
Describe the solution you'd like
I'd like to either have new invite-to-space
/ invite-to-org
commands, or to see a --no-invite/--invite
flag in the set-space-role
/ set-org-role
commands, which would lead to the behavior when inviting email addresses via the GUI (I think they get an email?)
Describe alternatives you've considered
Manually adding team-members (this is a
Additional context
Note:
As of the GA of the v7 CLI, the v6 line is no longer under active development and will be updated only to patch CVEs or fix severe blocking defects with no workarounds.