Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.5 KiB

  1. npm-access(1) -- Set access level on published packages
  2. =======================================================
  3. ## SYNOPSIS
  4. npm access public [<package>]
  5. npm access restricted [<package>]
  6. npm access grant <read-only|read-write> <scope:team> [<package>]
  7. npm access revoke <scope:team> [<package>]
  8. npm access ls-packages [<user>|<scope>|<scope:team>]
  9. npm access ls-collaborators [<package> [<user>]]
  10. npm access edit [<package>]
  11. ## DESCRIPTION
  12. Used to set access controls on private packages.
  13. For all of the subcommands, `npm access` will perform actions on the packages
  14. in the current working directory if no package name is passed to the
  15. subcommand.
  16. * public / restricted:
  17. Set a package to be either publicly accessible or restricted.
  18. * grant / revoke:
  19. Add or remove the ability of users and teams to have read-only or read-write
  20. access to a package.
  21. * ls-packages:
  22. Show all of the packages a user or a team is able to access, along with the
  23. access level, except for read-only public packages (it won't print the whole
  24. registry listing)
  25. * ls-collaborators:
  26. Show all of the access privileges for a package. Will only show permissions
  27. for packages to which you have at least read access. If `<user>` is passed in,
  28. the list is filtered only to teams _that_ user happens to belong to.
  29. * edit:
  30. Set the access privileges for a package at once using `$EDITOR`.
  31. ## DETAILS
  32. `npm access` always operates directly on the current registry, configurable
  33. from the command line using `--registry=<registry url>`.
  34. Unscoped packages are *always public*.
  35. Scoped packages *default to restricted*, but you can either publish them as
  36. public using `npm publish --access=public`, or set their access as public using
  37. `npm access public` after the initial publish.
  38. You must have privileges to set the access of a package:
  39. * You are an owner of an unscoped or scoped package.
  40. * You are a member of the team that owns a scope.
  41. * You have been given read-write privileges for a package, either as a member
  42. of a team or directly as an owner.
  43. If you have two-factor authentication enabled then you'll have to pass in an
  44. otp with `--otp` when making access changes.
  45. If your account is not paid, then attempts to publish scoped packages will fail
  46. with an HTTP 402 status code (logically enough), unless you use
  47. `--access=public`.
  48. Management of teams and team memberships is done with the `npm team` command.
  49. ## SEE ALSO
  50. * npm-team(1)
  51. * npm-publish(1)
  52. * npm-config(7)
  53. * npm-registry(7)