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:
parent
e308fbbf3a
commit
4f5802c95d
2 changed files with 14 additions and 12 deletions
|
@ -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**).
|
||||
|
||||
|
|
|
@ -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**).
|
||||
|
||||
|
|
Loading…
Reference in a new issue