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

invite-user / set-space-role --invite #2237

Open
znd4 opened this issue Dec 6, 2021 · 0 comments
Open

invite-user / set-space-role --invite #2237

znd4 opened this issue Dec 6, 2021 · 0 comments
Assignees

Comments

@znd4
Copy link

znd4 commented Dec 6, 2021

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 $T \times S$ problem, where T is the number of team-members and S is the number of PCF spaces.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants