From 4f5802c95d3305681ea18cc8a6c20acc5f498399 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Sat, 16 Nov 2024 07:20:13 -0500 Subject: [PATCH] chore: add unpublish to package access config (#4941) --- website/docs/packages.md | 13 +++++++------ website/versioned_docs/version-6.x/packages.md | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/website/docs/packages.md b/website/docs/packages.md index b7be80747..6528408e6 100644 --- a/website/docs/packages.md +++ b/website/docs/packages.md @@ -184,12 +184,13 @@ In the previous example, the behaviour would be described: You can define mutiple `packages` and each of them must have an unique `Regex`. The syntax is based on [minimatch glob expressions](https://github.com/isaacs/minimatch). -| Property | Type | Required | Example | Support | Description | -| -------- | ------ | -------- | -------------- | -------------- | ------------------------------------------------------------------------- | -| access | string | No | $all | all | define groups allowed to access the package | -| publish | string | No | $authenticated | all | define groups allowed to publish | -| proxy | string | No | npmjs | all | limit look ups for specific uplink | -| storage | string | No | string | `/some-folder` | it creates a subfolder whithin the storage folder for each package access | +| Property | Type | Required | Example | Support | Description | +| --------- | ------ | -------- | -------------- | -------------- | ------------------------------------------------------------------------- | +| access | string | No | $all | all | define groups allowed to access the package | +| publish | string | No | $authenticated | all | define groups allowed to publish | +| unpublish | string | No | $authenticated | all | define groups allowed to unpublish | +| proxy | string | No | npmjs | all | limit look ups for specific uplink | +| storage | string | No | string | `/some-folder` | it creates a subfolder whithin the storage folder for each package access | > We higlight that we recommend to not use **allow_access**/**allow_publish** and **proxy_access** anymore, those are deprecated and will soon be removed, please use the short version of each of those (**access**/**publish**/**proxy**). diff --git a/website/versioned_docs/version-6.x/packages.md b/website/versioned_docs/version-6.x/packages.md index b7be80747..6528408e6 100644 --- a/website/versioned_docs/version-6.x/packages.md +++ b/website/versioned_docs/version-6.x/packages.md @@ -184,12 +184,13 @@ In the previous example, the behaviour would be described: You can define mutiple `packages` and each of them must have an unique `Regex`. The syntax is based on [minimatch glob expressions](https://github.com/isaacs/minimatch). -| Property | Type | Required | Example | Support | Description | -| -------- | ------ | -------- | -------------- | -------------- | ------------------------------------------------------------------------- | -| access | string | No | $all | all | define groups allowed to access the package | -| publish | string | No | $authenticated | all | define groups allowed to publish | -| proxy | string | No | npmjs | all | limit look ups for specific uplink | -| storage | string | No | string | `/some-folder` | it creates a subfolder whithin the storage folder for each package access | +| Property | Type | Required | Example | Support | Description | +| --------- | ------ | -------- | -------------- | -------------- | ------------------------------------------------------------------------- | +| access | string | No | $all | all | define groups allowed to access the package | +| publish | string | No | $authenticated | all | define groups allowed to publish | +| unpublish | string | No | $authenticated | all | define groups allowed to unpublish | +| proxy | string | No | npmjs | all | limit look ups for specific uplink | +| storage | string | No | string | `/some-folder` | it creates a subfolder whithin the storage folder for each package access | > We higlight that we recommend to not use **allow_access**/**allow_publish** and **proxy_access** anymore, those are deprecated and will soon be removed, please use the short version of each of those (**access**/**publish**/**proxy**).