0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

chore: add unpublish to package access config (#4941)

This commit is contained in:
Marc Bernard 2024-11-16 07:20:13 -05:00 committed by GitHub
parent e308fbbf3a
commit 4f5802c95d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 12 deletions

View file

@ -185,9 +185,10 @@ 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 |
| 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 |

View file

@ -185,9 +185,10 @@ 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 |
| 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 |