1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/partials/config/yaml/api.spec.yaml

49 lines
987 B
YAML
Raw Normal View History

storage: ./storage_default_storage
uplinks:
npmjs:
url: http://localhost:4873/
packages:
'@*/*':
access: $all
publish: $all
2019-02-25 08:33:01 +01:00
unpublish: $authenticated
proxy: npmjs
'@jquery/*':
access: $all
publish: $all
proxy: npmjs
'auth-package':
access: $authenticated
publish: $authenticated
2019-02-25 08:33:01 +01:00
'non-unpublish':
access: $authenticated
publish: $authenticated
# this is intended, empty block
unpublish:
2019-02-25 08:33:01 +01:00
'super-admin-can-unpublish':
access: $authenticated
publish: super_admin
unpublish: super_admin
'all-can-unpublish':
access: $authenticated
publish: $all
unpublish: $all
'forbidden-place':
access: nobody
publish: $all
'vue':
access: $authenticated
publish: $authenticated
proxy: npmjs
'jquery':
access: $all
publish: $all
proxy: npmjs
'*':
access: $all
publish: $all
unpublish: xxx
proxy: npmjs
logs:
2019-02-25 08:33:01 +01:00
- { type: stdout, format: pretty, level: warn }