Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

invite-user / set-space-role --invite

Abierto
#2,237 1 comentario 0 reacciones 1 asignado Ver en GitHub

@gururajsh ya está trabajando en esto.

Desde el 6/9/2024.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

feature-request no-issue-activity

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 newperson@company.com <org> <space> SpaceDeveloper

I get

No user exists with the username 'newuser@company.com'.

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.

Lenguaje dominante
Go
Estrellas
1.9k
Forks
990
Merge medio
1 d 7 h
PR fusionados (30 d)
8

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cloudfoundry/cli

Todos los issues de cloudfoundry/cli

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.