Merge pull request #18049 from dvdksn/scout/roles-and-permissions

scout: add roles and permissions
This commit is contained in:
David Karlsson 2023-08-30 18:05:35 +02:00 committed by GitHub
commit 2fd62141dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 52 additions and 40 deletions

View File

@ -1,5 +1,6 @@
--- ---
description: Use roles in your organization to control who has access to content, description: >
Use roles in your organization to control who has access to content,
registry, and organization management permissions. registry, and organization management permissions.
keywords: members, teams, organization, company, roles, access keywords: members, teams, organization, company, roles, access
title: Roles and permissions title: Roles and permissions
@ -31,7 +32,7 @@ The following outlines content and registry permissions for member, editor, and
Company owners have the same access as organization owners for all associated organizations. See [Company overview](/admin/company/). Company owners have the same access as organization owners for all associated organizations. See [Company overview](/admin/company/).
| Permission | Member | Editor | Organization owner | | Permission | Member | Editor | Organization owner |
|:----------------------- |:------ |:-------|:------------------ | | :---------------------------------------------------- | :----- | :----- | :----------------- |
| Explore images and extensions | ✅ | ✅ | ✅ | | Explore images and extensions | ✅ | ✅ | ✅ |
| Star, favorite, vote, and comment on content | ✅ | ✅ | ✅ | | Star, favorite, vote, and comment on content | ✅ | ✅ | ✅ |
| Pull images | ✅ | ✅ | ✅ | | Pull images | ✅ | ✅ | ✅ |
@ -44,7 +45,6 @@ Company owners have the same access as organization owners for all associated or
| View repository activity | ❌ | ❌ | ✅ | | View repository activity | ❌ | ❌ | ✅ |
| Set up Automated builds | ❌ | ❌ | ✅ | | Set up Automated builds | ❌ | ❌ | ✅ |
| Edit build settings | ❌ | ❌ | ✅ | | Edit build settings | ❌ | ❌ | ✅ |
| Set up vulnerability analysis with Docker Scout | ❌ | ✅ | ✅ |
| View teams | ❌ | ✅ | ✅ | | View teams | ❌ | ✅ | ✅ |
| Assign team permissions to repositories | ❌ | ✅ | ✅ | | Assign team permissions to repositories | ❌ | ✅ | ✅ |
@ -55,7 +55,7 @@ When you add members to a team, you can manage their repository permissions. For
The following outlines organization management permissions for member, editor, organization owner, and company owner roles. The following outlines organization management permissions for member, editor, organization owner, and company owner roles.
| Permission | Member | Editor | Organization owner | Company owner | | Permission | Member | Editor | Organization owner | Company owner |
|:----------------------- |:------ |:-------|:------------------ |:----------- | | :---------------------------------------------------------------- | :----- | :----- | :----------------- | :------------ |
| Create teams | ❌ | ❌ | ✅ | ✅ | | Create teams | ❌ | ❌ | ✅ | ✅ |
| Manage teams (including delete) | ❌ | ❌ | ✅ | ✅ | | Manage teams (including delete) | ❌ | ❌ | ✅ | ✅ |
| Configure the organization's settings (including linked services) | ❌ | ❌ | ✅ | ✅ | | Configure the organization's settings (including linked services) | ❌ | ❌ | ✅ | ✅ |
@ -67,8 +67,8 @@ The following outlines organization management permissions for member, editor, o
| Export and reporting | ❌ | ❌ | ✅ | ✅ | | Export and reporting | ❌ | ❌ | ✅ | ✅ |
| Image Access Management | ❌ | ❌ | ✅ | ✅ | | Image Access Management | ❌ | ❌ | ✅ | ✅ |
| Registry Access Management | ❌ | ❌ | ✅ | ✅ | | Registry Access Management | ❌ | ❌ | ✅ | ✅ |
| Set up Single Sign-On (SSO) and SCIM | ❌ | ❌ | ✅ * | ✅ | | Set up Single Sign-On (SSO) and SCIM | ❌ | ❌ | ✅ \* | ✅ |
| Require Desktop login | ❌ | ❌ | ✅ * | ✅ | | Require Desktop login | ❌ | ❌ | ✅ \* | ✅ |
| Manage billing information (e.g. billing address) | ❌ | ❌ | ✅ | ✅ | | Manage billing information (e.g. billing address) | ❌ | ❌ | ✅ | ✅ |
| Manage payment methods (e.g. credit card or invoice) | ❌ | ❌ | ✅ | ✅ | | Manage payment methods (e.g. credit card or invoice) | ❌ | ❌ | ✅ | ✅ |
| View billing history | ❌ | ❌ | ✅ | ✅ | | View billing history | ❌ | ❌ | ✅ | ✅ |
@ -76,4 +76,16 @@ The following outlines organization management permissions for member, editor, o
| Manage seats | ❌ | ❌ | ✅ | ✅ | | Manage seats | ❌ | ❌ | ✅ | ✅ |
| Upgrade and downgrade plans | ❌ | ❌ | ✅ | ✅ | | Upgrade and downgrade plans | ❌ | ❌ | ✅ | ✅ |
_* If not part of a company_ _\* If not part of a company_
### Docker Scout
The following outlines Docker Scout management permissions for member, editor, and organization owner roles.
| Permission | Member | Editor | Organization owner |
| :---------------------------------------------------- | :----- | :----- | :----------------- |
| View and compare analysis results | ✅ | ✅ | ✅ |
| Upload analysis records | ✅ | ✅ | ✅ |
| Activate and deactivate Docker Scout for a repository | ❌ | ✅ | ✅ |
| Create environments | ❌ | ❌ | ✅ |
| Manage registry integrations | ❌ | ❌ | ✅ |