Skip to content

Commit e9a3b05

Browse files
authored
(DOCSP-43241) Updates teams description to include pending users. (#3373)
1 parent 5878ad3 commit e9a3b05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/command/atlas-teams-users-add.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ atlas teams users add
1414

1515
Add the specified MongoDB user to a team for your organization.
1616

17-
Users must be current members of your organization before you can add them to a team.
17+
You can add users that are part of the organization or users that have been sent an invitation to join the organization.
1818

1919
To use this command, you must authenticate with a user account or an API key with the Organization User Admin role.
2020

internal/cli/teams/users/add.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func AddBuilder() *cobra.Command {
7272
Use: "add <userId>...",
7373
Args: require.MinimumNObjectIDArgs(1),
7474
Short: "Add the specified MongoDB user to a team for your organization.",
75-
Long: `Users must be current members of your organization before you can add them to a team.
75+
Long: `You can add users that are part of the organization or users that have been sent an invitation to join the organization.
7676
7777
` + fmt.Sprintf(usage.RequiredRole, "Organization User Admin"),
7878
Annotations: map[string]string{

0 commit comments

Comments
 (0)