mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-04 09:15:33 +00:00
docs: clarify that team package permissions cover the whole org (#605)
Packages belong to the owner, so a team's packages permission covers every package of the organization, regardless of the team's repositories. State that in the access restrictions section, matching the team settings change in https://github.com/go-gitea/gitea/pull/39953. The old note announced a dedicated team permission for finer control, which has existed since the packages unit was added, so it is replaced. Reviewed-on: https://gitea.com/gitea/docs/pulls/605 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: silverwind <[email protected]>
This commit is contained in:
@@ -55,11 +55,11 @@ and shows a link to the repository on the package site (as well as a link to the
|
||||
| Package owner type | User | Organization |
|
||||
|--------------------|------|--------------|
|
||||
| **read** access | public, if user is public too; otherwise for this user only | public, if org is public, otherwise for org members only |
|
||||
| **write** access | owner only | org members with admin or write access to the org |
|
||||
| **write** access | owner only | members of a team with write access to packages |
|
||||
|
||||
Please note, that your respective package manager needs to have a [personal access token](development/api-usage.md#authentication) with the permissions `package` set to either Read or Read & Write to download and publish packages respectively.
|
||||
|
||||
N.B.: These access restrictions are [subject to change](https://github.com/go-gitea/gitea/issues/19270), where more finegrained control will be added via a dedicated organization team permission.
|
||||
The packages permission of an organization team applies to all packages of the organization, regardless of the repositories assigned to the team.
|
||||
|
||||
## Create or upload a package
|
||||
|
||||
|
||||
@@ -55,11 +55,11 @@ and shows a link to the repository on the package site (as well as a link to the
|
||||
| Package owner type | User | Organization |
|
||||
|--------------------|------|--------------|
|
||||
| **read** access | public, if user is public too; otherwise for this user only | public, if org is public, otherwise for org members only |
|
||||
| **write** access | owner only | org members with admin or write access to the org |
|
||||
| **write** access | owner only | members of a team with write access to packages |
|
||||
|
||||
Please note, that your respective package manager needs to have a [personal access token](development/api-usage.md#authentication) with the permissions `package` set to either Read or Read & Write to download and publish packages respectively.
|
||||
|
||||
N.B.: These access restrictions are [subject to change](https://github.com/go-gitea/gitea/issues/19270), where more finegrained control will be added via a dedicated organization team permission.
|
||||
The packages permission of an organization team applies to all packages of the organization, regardless of the repositories assigned to the team.
|
||||
|
||||
## Create or upload a package
|
||||
|
||||
|
||||
@@ -55,11 +55,11 @@ and shows a link to the repository on the package site (as well as a link to the
|
||||
| Package owner type | User | Organization |
|
||||
|--------------------|------|--------------|
|
||||
| **read** access | public, if user is public too; otherwise for this user only | public, if org is public, otherwise for org members only |
|
||||
| **write** access | owner only | org members with admin or write access to the org |
|
||||
| **write** access | owner only | members of a team with write access to packages |
|
||||
|
||||
Please note, that your respective package manager needs to have a [personal access token](development/api-usage.md#authentication) with the permissions `package` set to either Read or Read & Write to download and publish packages respectively.
|
||||
|
||||
N.B.: These access restrictions are [subject to change](https://github.com/go-gitea/gitea/issues/19270), where more finegrained control will be added via a dedicated organization team permission.
|
||||
The packages permission of an organization team applies to all packages of the organization, regardless of the repositories assigned to the team.
|
||||
|
||||
## Create or upload a package
|
||||
|
||||
|
||||
Reference in New Issue
Block a user