Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish permission ignored allowing any authenticated user to publish #238

Closed
moll opened this issue Apr 16, 2015 · 2 comments
Closed

Publish permission ignored allowing any authenticated user to publish #238

moll opened this issue Apr 16, 2015 · 2 comments

Comments

@moll
Copy link

moll commented Apr 16, 2015

Hey,

Am I doing something wrong or is the publish permission totally ignored?

packages:
  "@*/*":
    access: $authenticated
    publish: none

  "*":
    access: $authenticated
    publish: none

I realize none isn't a special token, but both none and leaving publish empty still allows me to publish packages with npm --registry example.com publish.

rlidwka added a commit that referenced this issue Apr 21, 2015
@rlidwka
Copy link
Owner

rlidwka commented Apr 22, 2015

Yep, I messed up with auth refactoring two weeks ago.

Fixed, added tests for it and published as sinopia@1.2.2. Thanks for reporting!

@moll
Copy link
Author

moll commented Jun 22, 2015

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants