0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00
verdaccio/test/unit/partials/config/yaml/api.spec.yaml

45 lines
921 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
'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
'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 }