0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05: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 02:33:01 -05:00
unpublish: $authenticated
proxy: npmjs
'@jquery/*':
access: $all
publish: $all
proxy: npmjs
'auth-package':
access: $authenticated
publish: $authenticated
2019-02-25 02:33:01 -05:00
'non-unpublish':
access: $authenticated
publish: $authenticated
# this is intended, empty block
unpublish:
2019-02-25 02:33:01 -05: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 02:33:01 -05:00
- { type: stdout, format: pretty, level: warn }