You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/organizations/organizing-members-into-teams/adding-organization-members-to-a-team.md
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,12 @@ shortTitle: Add members to a team
24
24
25
25
{% data reusables.organizations.team-synchronization %}
26
26
27
+
{% ifversion ghes %}
28
+
29
+
## Adding organization members to a team
30
+
31
+
{% endif %}
32
+
27
33
{% data reusables.profile.access_org %}
28
34
{% data reusables.user-settings.access_org %}
29
35
{% data reusables.organizations.specific_team %}
@@ -34,7 +40,16 @@ shortTitle: Add members to a team
34
40
35
41
{% ifversion fpt or ghec %}{% data reusables.organizations.cancel_org_invite %}{% endif %}
36
42
43
+
{% ifversion ghes %}
44
+
45
+
## Mapping teams to LDAP groups (for instances using LDAP Sync for user authentication)
46
+
47
+
A team that's [synced to an LDAP group](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) is indicated with a special LDAP badge. The member list for an LDAP synced team can only be managed from the LDAP group it's mapped to.
48
+
49
+
To add a new member to a team synced to an LDAP group, add the user as a member of the LDAP group, or contact your LDAP administrator.
Copy file name to clipboardExpand all lines: content/organizations/organizing-members-into-teams/creating-a-team.md
+36-4Lines changed: 36 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,12 @@ Only organization owners and maintainers of a parent team can create a new child
22
22
23
23
{% data reusables.organizations.team-synchronization %}
24
24
25
+
{% ifversion ghes %}
26
+
27
+
## Creating a team
28
+
29
+
{% endif %}
30
+
25
31
{% data reusables.profile.access_org %}
26
32
{% data reusables.user-settings.access_org %}
27
33
{% data reusables.organizations.new_team %}
@@ -38,8 +44,34 @@ Only organization owners and maintainers of a parent team can create a new child
38
44
{% data reusables.organizations.create_team %}
39
45
1. Optionally, [give the team access to organization repositories](/organizations/managing-user-access-to-your-organizations-repositories/managing-team-access-to-an-organization-repository).
40
46
41
-
## Further reading
47
+
{% ifversion ghes %}
48
+
49
+
## Creating teams with LDAP Sync enabled
50
+
51
+
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 {% data variables.location.product_location %}. 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 "[AUTOTITLE](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync)."
52
+
53
+
You must be a site admin and an organization owner to create a team with LDAP sync enabled.
54
+
55
+
{% data reusables.enterprise_user_management.ldap-sync-nested-teams %}
56
+
57
+
{% warning %}
58
+
59
+
**Notes:**
60
+
- LDAP Sync only manages the team's member list. You must manage the team's repositories and permissions from within {% data variables.product.prodname_ghe_server %}.
61
+
- 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 {% data variables.product.prodname_ghe_server %} team. To fix this, map the team to a new DN, add the team members back, and [manually sync the mapping](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#manually-syncing-ldap-accounts).
62
+
- 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.
1. Ensure that [LDAP Sync is enabled](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync).
67
+
{% data reusables.profile.access_org %}
68
+
{% data reusables.user-settings.access_org %}
69
+
{% data reusables.organizations.new_team %}
70
+
{% data reusables.organizations.team_name %}
71
+
6. 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. {% data variables.product.prodname_ghe_server %} will search for and autocomplete any matches.
72
+
{% data reusables.organizations.team_description %}
73
+
{% data reusables.organizations.team_visibility %}
74
+
{% data reusables.organizations.create-team-choose-parent %}
0 commit comments