Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#2,237 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

@gururajsh đang làm issue này rồi.

Từ ngày 6/9/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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 [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.

Ngôn ngữ chính
Go
Star
1.9k
Fork
989
Merge trung bình
4 ngày 15 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cloudfoundry/cli

Tất cả issue của cloudfoundry/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.