Creating a team
-
In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
-
Click the name of your organization.
-
Under your organization name, click Teams.
-
At the top of the page, click New team.
-
Under "Create new team", type the name for your new team.
-
Optionally, in the "Description" field, type a description of the team.
-
Optionally, if you're creating a child team, under "Parent team", select the Select a parent team dropdown menu and click a parent team. For more information about child teams, see "About teams."
-
Under "Team visibility", select a visibility for the team.
-
Under "Team notifications", select Enabled or Disabled.
Note: This setting only applies to @mentions of the team name. This setting does not affect notifications for reviews requested from the team.
-
Click Create team.
-
Optionally, give the team access to organization repositories. For more information, see "Managing team access to an organization repository."
Creating teams with LDAP Sync enabled
Instances using LDAP for user authentication can use LDAP Sync to manage a team's members. Setting the group's Distinguished Name (DN) in the LDAP group field will map a team to an LDAP group on your LDAP server. If you use LDAP Sync to manage a team's members, you won't be able to manage your team within your GitHub Enterprise Server instance. The mapped team will sync its members in the background and periodically at the interval configured when LDAP Sync is enabled. For more information, see "Using LDAP."
You must be a site admin and an organization owner to create a team with LDAP sync enabled.
As part of its optimization configuration, LDAP Sync will not transfer your nested team structure. To create child and parent team relationships, you must manually recreate the nested team structure and sync it with the corresponding LDAP group. For more information, see "Creating a team"
Notes:
- LDAP Sync only manages the team's member list. You must manage the team's repositories and permissions from within GitHub Enterprise Server.
- If an LDAP group mapping to a DN is removed, such as if the LDAP group is deleted, then every member is removed from the synced GitHub Enterprise Server team. To fix this, map the team to a new DN, add the team members back, and manually sync the mapping.
- When LDAP Sync is enabled, if a person is removed from a repository, they will lose access but their forks will not be deleted. If the person is added to a team with access to the original organization repository within three months, their access to the forks will be automatically restored on the next sync.
-
Ensure that LDAP Sync is enabled.
-
In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
-
Click the name of your organization.
-
Under your organization name, click Teams.
-
At the top of the page, click New team.
-
Under "Create new team", type the name for your new team.
-
Under "LDAP group", search for an LDAP group's DN to map the team to. If you don't know the DN, type the LDAP group's name. GitHub Enterprise Server will search for and autocomplete any matches.
-
Optionally, in the "Description" field, type a description of the team.
-
Under "Team visibility", select a visibility for the team.
-
Optionally, if you're creating a child team, under "Parent team", select the Select a parent team dropdown menu and click a parent team. For more information about child teams, see "About teams."
-
Click Create team.