Update team management (#20182)

* add tabs for admin console

* add tabs

* fix li

* clarify repo access config domain
This commit is contained in:
Stephanie Aurelio 2024-06-27 11:19:10 -07:00 committed by GitHub
parent 86669ed134
commit 01887d4bfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 98 additions and 11 deletions

View File

@ -7,22 +7,14 @@ aliases:
- /docker-hub/manage-a-team/
---
You can manage teams for your organization in Docker Hub.
You can create teams for your organization in Docker Hub and the Docker Admin Console. You can [configure repository access for a team](#configure-repository-permissions-for-a-team) in Docker Hub.
A team is a group of Docker users that belong to an organization. An
organization can have multiple teams. An
organization owner can then create new teams and add members to an existing team
using their Docker ID or email address and by selecting a team the user should be part of. Members aren't required to be part of a team to be associated with an organization.
The organization owner can add additional organization owners to help them
manage users, teams, and repositories in the organization by assigning them the owner role.
## Create a team
1. Go to **Organizations** in Docker Hub, and select your organization.
2. Select the **Teams** tab and then select **Create Team**.
3. Fill out your team's information and select **Create**.
4. [Add members to your team](members.md#add-a-member-to-a-team)
The organization owner can add additional organization owners to help them manage users, teams, and repositories in the organization by assigning them the owner role.
## Organization owner
@ -39,6 +31,30 @@ enforcement.
The org owner can also add additional org owners to help them manage users, teams, and repositories in the organization.
## Create a team
{{< tabs >}}
{{< tab name="Docker Hub" >}}
1. Go to **Organizations** in Docker Hub, and select your organization.
2. Select the **Teams** tab and then select **Create Team**.
3. Fill out your team's information and select **Create**.
4. [Add members to your team](members.md#add-a-member-to-a-team).
{{< /tab >}}
{{< tab name="Admin Console" >}}
{{< include "admin-early-access.md" >}}
1. In Admin Console, select your organization.
2. In the **User management** section, select **Teams**.
3. Select **Create team**.
4. Fill out your team's information and select **Create**.
5. [Add members to your team](members.md#add-a-member-to-a-team).
{{< /tab >}}
{{< /tabs >}}
## Configure repository permissions for a team
Organization owners can configure repository permissions on a per-team basis.
@ -96,6 +112,34 @@ To view a team's permissions across all repositories:
1. Open **Organizations** > **_Your Organization_** > **Teams** > **_Team Name_**.
2. Select the **Permissions** tab, where you can view the repositories this team can access.
## Delete a team
Organization owners can delete a team in Docker Hub or Admin Console. When you remove a team from your organization, this action revokes the members' access to the team's permitted resources. It won't remove users from other teams that they belong to, nor will it delete any resources.
{{< tabs >}}
{{< tab name="Docker Hub" >}}
1. Go to **Organizations** in Docker Hub, and select your organization.
2. Select the **Teams** tab.
3. Select the name of the team that you want to delete.
4. Select **Settings**.
5. Select **Delete Team**.
6. Review the confirmation message, then select **Delete**.
{{< /tab >}}
{{< tab name="Admin Console" >}}
{{< include "admin-early-access.md" >}}
1. In Admin Console, select your organization.
2. In the **User management** section, select **Teams**.
3. Select the **Actions** icon next to the name of the team you want to delete.
4. Select **Delete team**.
5. Review the confirmation message, then select **Delete**.
{{< /tab >}}
{{< /tabs >}}
## More resources
- [Video: Docker teams](https://youtu.be/WKlT1O-4Du8?feature=shared&t=348)

View File

@ -31,6 +31,9 @@ Use Docker Hub to add a member to a team or remove a member from a team.
Organization owners can add a member to one or more teams within an organization.
{{< tabs >}}
{{< tab name="Docker Hub" >}}
To add a member to a team:
1. Sign in to [Docker Hub](https://hub.docker.com).
@ -44,13 +47,53 @@ To add a member to a team:
> **Note**
>
> The invitee must first accept the invitation to join the organization before being added to the team.
> An invitee must first accept the invitation to join the organization before being added to the team.
{{< /tab >}}
{{< tab name="Admin Console" >}}
{{< include "admin-early-access.md" >}}
To add a member to a team:
1. In the Admin Console, select your organization.
2. Select the team name.
3. Select **Add member**. You can add the member by searching for their email address or username.
> **Note**
>
> An invitee must first accept the invitation to join the organization before being added to the team.
{{< /tab >}}
{{< /tabs >}}
### Remove a member from a team
Organization owners can remove a member from a team in Docker Hub or Admin Console. Removing the member from the team will revoke their access to the permitted resources.
{{< tabs >}}
{{< tab name="Docker Hub" >}}
To add a member to a team:
To remove a member from a specific team:
1. Sign in to [Docker Hub](https://hub.docker.com).
2. Select **Organizations**, your organization, **Teams**, and then the team.
3. Select the **X** next to the users name to remove them from the team.
4. When prompted, select **Remove** to confirm.
{{< /tab >}}
{{< tab name="Admin Console" >}}
{{< include "admin-early-access.md" >}}
To remove a member from a specific team:
1. In the Admin Console, select your organization.
2. Select the team name.
3. Select the **X** next to the user's name to remove them from the team.
4. When prompted, select **Remove** to confirm.
{{< /tab >}}
{{< /tabs >}}