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
|
@ -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 |
|
||||
|
||||
|
|
|
@ -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 |
|
||||
|
||||
|
|
Loading…
Reference in a new issue