-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Roles refresh #25680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Roles refresh #25680
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
77fafa6
docs: restructure roles and permissions custom roles IA
akristen 703c4aa
docs: freshen roles and permissions content
akristen 53116b6
docs: consolidate roles and permissions overview
akristen bc7f155
docs: align custom roles overview with core roles pattern
akristen 8c70ba3
Merge origin/main into roles-refresh
akristen b3d037a
docs: refresh roles and permissions titles and copy
akristen 8ff15a4
docs: mark custom roles as Docker Business
akristen bc1d333
docs: sync custom role permissions with the product UI
akristen 2f6dd19
docs: freshness pass on roles and custom roles pages
akristen 34175f4
Merge upstream/main into roles-refresh
akristen d56c0d4
docs: move custom roles prerequisites above Custom roles
akristen f9e57fc
some light copy modifications
akristen 5eceb83
Update content/manuals/enterprise/security/roles-and-permissions/cust…
akristen a656b3b
tw peer review
akristen eea57e9
Merge branch 'main' of https://github.com/akristen/docs into roles-re…
akristen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 39 additions & 46 deletions
85
content/manuals/enterprise/security/roles-and-permissions/_index.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,75 +1,68 @@ | ||
| --- | ||
| title: Roles and permissions | ||
| title: Docker organization roles and permissions | ||
| linkTitle: Roles and permissions | ||
| description: Control access to content, registry, and organization management with Docker's role system | ||
| keywords: roles, permissions, custom roles, core roles, access control, organization management, docker hub, docker home , security | ||
| description: >- | ||
| Choose core or custom roles to control access to repositories, teams, and | ||
| organization settings | ||
| keywords: >- | ||
| Docker organization roles, permissions, core roles, custom roles, Member, | ||
| Editor, Owner, access control, least privilege, Docker Business, security | ||
| tags: [admin] | ||
| aliases: | ||
| - /admin/organization/roles/ | ||
| - /security/for-admins/roles-and-permissions/ | ||
| - /docker-hub/roles-and-permissions/ | ||
| grid: | ||
| - title: "Core roles" | ||
| description: Learn about Docker's built-in Member, Editor, and Owner roles with predefined permissions. | ||
| - title: Core roles | ||
| description: >- | ||
| Compare permissions for the built-in Member, Editor, and Owner roles. | ||
| icon: shield-check | ||
| link: /enterprise/security/roles-and-permissions/core-roles/ | ||
| - title: "Custom roles" | ||
| description: Create tailored permission sets that match your organization's specific needs. | ||
| - title: Custom roles | ||
| description: >- | ||
| Build permission sets that match your organization's access control needs. | ||
| icon: adjustments-horizontal | ||
| link: /enterprise/security/roles-and-permissions/custom-roles/ | ||
| - title: Custom roles permissions | ||
| description: >- | ||
| Review every permission you can assign to a custom role. | ||
| icon: list-bullet | ||
| link: /enterprise/security/roles-and-permissions/custom-roles/permissions-reference/ | ||
| weight: 40 | ||
| --- | ||
|
|
||
| {{< summary-bar feature_name="General admin" >}} | ||
|
|
||
| Roles control what users can do in your Docker organization. When you invite users or create teams, you assign them roles that determine their permissions for repositories, teams, and organization settings. | ||
| Roles determine what members can do in your Docker organization. When you | ||
| invite a user or create a team, you assign a role that grants permissions | ||
| for repositories, teams, and organization settings. | ||
|
|
||
| Docker provides two types of roles to meet different organizational needs: | ||
| Docker provides two role types. Users and teams get either a core role or a | ||
| custom role, but not both. | ||
|
|
||
| - [Core roles](/manuals/enterprise/security/roles-and-permissions/core-roles.md) with predefined permissions | ||
| - [Custom roles](/manuals/enterprise/security/roles-and-permissions/custom-roles.md) that you can tailor to your specific requirements | ||
| ## Core roles | ||
|
|
||
| ## Docker roles | ||
| Core roles are Docker's built-in Member, Editor, and Owner roles. Their | ||
| permissions are predefined. Use core roles when Docker's permission sets match | ||
| your organization's needs. | ||
|
|
||
| ### Core roles | ||
| ## Custom roles | ||
|
|
||
| Core roles are Docker's built-in roles with predefined permission sets: | ||
| Custom roles are permission sets you build by selecting individual | ||
| permissions, such as billing or team management. Use custom roles when you | ||
| need a combination that core roles don't offer. For example, you may create a custom role for a billing | ||
| administrator or a security auditor, or when you want to grant | ||
| least-privilege access. | ||
|
|
||
| - **Member**: Non-administrative role with basic access. Members can view other organization members and pull images from repositories they have access to. | ||
| - **Editor**: Partial administrative access. Editors can create, edit, and delete repositories, and manage team permissions for repositories. | ||
| - **Owner**: Full administrative access. Owners can manage all organization settings, including repositories, teams, members, billing, and security features. | ||
| Custom roles require a Docker Business subscription. | ||
|
|
||
| ### Custom roles | ||
| ## Roles and team permissions | ||
|
|
||
| Custom roles allow you to create tailored permission sets by selecting specific permissions from categories like user management, team management, billing, and Hub permissions. Use custom roles when Docker's core roles don't fit your needs. | ||
|
|
||
| ## When to use each role | ||
|
|
||
| Use core roles when: | ||
|
|
||
| - Docker's predefined permission sets match your organizational structure | ||
| - You want simple, straightforward role assignments | ||
| - You're getting started with Docker organization management | ||
| - Your access control needs are standard and don't require fine-grained permissions | ||
|
|
||
| Use custom roles when: | ||
|
|
||
| - You need specific permission combinations not available in core roles | ||
| - You want to create specialized roles like billing administrators, security auditors, or repository managers | ||
| - You need department-specific access control | ||
| - You want to implement the principle of least privilege with precise permission grants | ||
|
|
||
| ## How roles work together | ||
|
|
||
| You can assign users and teams either a core role or a custom role, but not both. However, roles work in combination with team permissions: | ||
|
|
||
| 1. **Role permissions**: Applied organization-wide (core or custom role). Custom roles can grant permissions to both organization-wide settings and repository access. | ||
| 2. **Team permissions**: Additional repository-specific permissions when users are added to teams. This is a separate permission system from role-based permissions. | ||
|
|
||
| This layered approach gives you flexibility to provide broad organizational access through roles and specific repository access through team memberships. | ||
| Roles apply organization-wide. Team permissions apply to specific | ||
| repositories. The two systems work together: a user's role sets their | ||
| organization-wide access and team membership can extend their access to | ||
| individual repositories. | ||
|
|
||
| ## Next steps | ||
|
|
||
| Choose the role type that best fits your organization's needs: | ||
|
|
||
| {{< grid >}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.