Skip to content
Source
Sign inSign up

Bring your team

Teams and community / You and your team

Bring your team

Your team starts on TanStack Source, and each new person must get the right access on day one. An organization owns the repositories of the team, and its settings give each member their access.

4 min read

1. Make an organization

Important

If your team has a GitHub organization, import it in place of this step. If you pick the name of a GitHub organization that is not yours, its GitHub owners can import it later. That import deletes your organization and its repositories.

  1. Click + in the header, then New organization.
  2. Fill in the Organization name.
  3. Optional: under Image, choose a file in New image. Crop it in the window that opens, then click Save image.
  4. Optional: under Invite people, click Add person. Type the username, and pick Member or Owner. Add one row for each person.
  5. Click Create organization.

You are its first owner. Owners manage the organization and have admin access on each of its repositories.

The form saves the image and sends the invites right after it makes the organization. Each person joins when they accept the invitation.

If an invite or the image fails, the organization still exists, and the page lists each step that failed:

  • To open the organization, click Go to and the name of the organization.
  • If an invite failed, click Invite people again to open the People tab.
The Organization created page: one step failed, Could not invite ghost: No user named ghost, with the Invite people again and Go to compilers buttons

2. Set what each member gets

Open the General tab of the organization.

  • Base role: the role that each member gets on each repository of the organization. The default is read.
  • Members can create repositories: turn it off when only owners make repositories.

Then click Save privileges.

The Member privileges card, with the base role read and Members can create repositories on

The roles, from the least access to the most:

RoleCan
readRead and clone, open issues and pull requests, and comment.
triageManage issues and pull requests, with no push.
writePush.
maintainWrite, and change the description and the default branch.
adminEverything, also the settings.

3. Invite people

If you invited everyone in step 1, skip this step.

  1. Open the People tab.
  2. Type the username of the person, pick member or owner, and click Invite.
The People tab, with alice as owner, the invite form, and a pending invitation for bob

The person sees the invitation on their home page, and clicks Accept. An invitation lasts 7 days.

The home page of bob, with the invitation to join acme and the Accept and Decline buttons

Note

Source also emails the invitation, with a link to sign in. It goes to the verified address that the person picked for your organization, else to their primary address. A person with no verified address, or with organization email turned off, gets no email. The email itself gives no access. If the email does not arrive, they can still accept from the home page. Inviting the same person again renews the invitation and queues a new email. See Get email for important events.

Send the new person this list:

  1. Sign up, and tell your owner the username.
  2. Accept the invitation on the home page.
  3. Install src and log in (steps 2 and 3).
  4. Clone a repository of the team: src repo clone <org>/<repo>.

4. Group people in teams

When some people need more access than the base role, put them in a team.

  1. Open the Teams tab. Under New team, fill in the name and click Create team. You are its first maintainer.
  2. Open the team, and add its members.
  3. In each repository, open Settings, then Access. Give the team a role under Teams.

A child team gets the access of its parent team. For one person from outside the organization, add them under Collaborators, in the repository's Settings, then Access.

Tip

To notify each member of a team, write @org/team in a repository of the organization. See Mention a team.

Done

New people accept one invitation and get the access of their team on each repository.

Next: Connect your coding agent. An agent gets no more access than the person who starts it.