0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/website/translated_docs/es-ES/protect-your-dependencies.md
verdacciobot 272e9f614b docs: new Crowdin translations (#770)
* New translations windows.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations uplinks.md (Spanish)
docs(website): new translations

* New translations uplinks.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations docker.md (Spanish)
docs(website): new translations

* New translations reverse-proxy.md (Spanish)
docs(website): new translations

* New translations uplinks.md (Spanish)
docs(website): new translations

* New translations chef.md (Spanish)
docs(website): new translations

* New translations chef.md (Spanish)
docs(website): new translations

* New translations notifications.md (Spanish)
docs(website): new translations

* New translations notifications.md (Spanish)
docs(website): new translations

* New translations notifications.md (Spanish)
docs(website): new translations

* New translations notifications.md (Spanish)
docs(website): new translations

* New translations notifications.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations chef.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations ssl.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations test.md (Spanish)
docs(website): new translations

* New translations packages.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations packages.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations packages.md (Spanish)
docs(website): new translations

* New translations packages.md (Spanish)
docs(website): new translations

* New translations packages.md (Spanish)
docs(website): new translations

* New translations packages.md (Spanish)
docs(website): new translations

* New translations protect-your-dependencies.md (Spanish)
docs(website): new translations

* New translations uplinks.md (Spanish)
docs(website): new translations

* New translations docker.md (Spanish)
docs(website): new translations

* New translations node-api.md (Spanish)
docs(website): new translations

* New translations protect-your-dependencies.md (Spanish)
docs(website): new translations

* New translations docker.md (Spanish)
docs(website): new translations

* New translations install.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations use-cases.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations use-cases.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations use-cases.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations use-cases.md (Spanish)
docs(website): new translations

* New translations use-cases.md (Spanish)
docs(website): new translations

* New translations use-cases.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations plugins.md (Spanish)
docs(website): new translations

* New translations repositories.md (Spanish)
docs(website): new translations
2018-06-20 07:46:52 +02:00

1.4 KiB

id title
protect-your-dependencies Protegiendo paquetes

verdaccio allows you protect publish, to achieve that you will need to set up correctly your packages acces.

Configuración del paquete

Veamos por ejemplo la siguiente configuración. Tienes un conjunto de dependencias con prefijo my-company-* y necesitas protegerlas de anónimos o de otro usuario registrado sin credenciales.

  'my-company-*':
    access: admin teamA teamB teamC
    publish: admin teamA
    proxy: npmjs

Con esta configuración, básicamente le permitimos agrupar admin and teamA para * publicar* y teamA teamB teamC access a dichas dependencias.

Use case: teamD try to access the dependency

Entonces, si yo estoy conectado como teamD. No debería ser capaz de acceder a todas las dependencias que cumplan con el patrón my-company-*.

➜ npm whoami
teamD

No tendré acceso a dichas dependencias y tampoco serán visibles vía web para el usuario teamD. Si intentas acceder, ocurrirá lo siguiente.

➜ npm install my-company-core
npm ERR! code E403
npm ERR! 403 Forbidden: webpack-1@latest

o con yarn

➜ yarn add my-company-core
yarn add v0.24.6
info No lockfile found.
[1/4] 
error Ocurrió un error inesperado: "http://localhost:5555/webpack-1: no se les permite acceder al paquete my-company-core a usuarios no registrados".