Skip to content

Commit da188ea

Browse files
committed
updated to npm access
1 parent 6b84429 commit da188ea

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

content/cli/v10/commands/npm-access.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ npm access list packages [<user>|<scope>|<scope:team>] [<package>]
2626
npm access list collaborators [<package> [<user>]]
2727
npm access get status [<package>]
2828
npm access set status=public|private [<package>]
29-
npm access set mfa=none|publish|automation [<package>]
29+
npm access set mfa=publish|automation [<package>]
3030
npm access grant <read-only|read-write> <scope:team> [<package>]
3131
npm access revoke <scope:team> [<package>]
3232
```

content/cli/v6/commands/npm-access.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For all of the subcommands, `npm access` will perform actions on the packages in
4646
4747
- grant / revoke: Add or remove the ability of users and teams to have read-only or read-write access to a package.
4848
49-
- 2fa-required / 2fa-not-required: Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account.
49+
- 2fa-required / 2fa-not-required: Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account. All packages now require either two-factor authentication or a granular access token with bypass 2FA enabled by default. The "Don't require two-factor authentication" option has been removed from the web interface.
5050
5151
- ls-packages: Show all of the packages a user or a team is able to access, along with the access level, except for read-only public packages (it won't print the whole registry listing)
5252

content/cli/v7/commands/npm-access.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For all of the subcommands, `npm access` will perform actions on the packages in
4646
4747
- grant / revoke: Add or remove the ability of users and teams to have read-only or read-write access to a package.
4848
49-
- 2fa-required / 2fa-not-required: Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account.
49+
- 2fa-required / 2fa-not-required: Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account. All packages now require either two-factor authentication or a granular access token with bypass 2FA enabled by default. The "Don't require two-factor authentication" option has been removed from the web interface.
5050
5151
- ls-packages: Show all of the packages a user or a team is able to access, along with the access level, except for read-only public packages (it won't print the whole registry listing)
5252

content/cli/v8/commands/npm-access.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ For all of the subcommands, `npm access` will perform actions on the packages in
4343
4444
- grant / revoke (deprecated): Add or remove the ability of users and teams to have read-only or read-write access to a package.
4545
46-
- 2fa-required / 2fa-not-required (deprecated): Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account.
47-
46+
- 2fa-required / 2fa-not-required (deprecated): Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account. All packages now require either two-factor authentication or a granular access token with bypass 2FA enabled by default. The "Don't require two-factor authentication" option has been removed from the web interface.
4847
- ls-packages (deprecated): Show all of the packages a user or a team is able to access, along with the access level, except for read-only public packages (it won't print the whole registry listing)
4948
5049
- ls-collaborators (deprecated): Show all of the access privileges for a package. Will only show permissions for packages to which you have at least read access. If `<user>` is passed in, the list is filtered only to teams _that_ user happens to belong to.

content/cli/v9/commands/npm-access.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ npm access list packages [<user>|<scope>|<scope:team> [<package>]
2626
npm access list collaborators [<package> [<user>]]
2727
npm access get status [<package>]
2828
npm access set status=public|private [<package>]
29-
npm access set mfa=none|publish|automation [<package>]
29+
npm access set mfa=publish|automation [<package>]
3030
npm access grant <read-only|read-write> <scope:team> [<package>]
3131
npm access revoke <scope:team> [<package>]
3232
```
@@ -43,7 +43,7 @@ For all of the subcommands, `npm access` will perform actions on the packages in
4343
4444
- grant / revoke (deprecated): Add or remove the ability of users and teams to have read-only or read-write access to a package.
4545
46-
- 2fa-required / 2fa-not-required (deprecated): Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account.
46+
- 2fa-required / 2fa-not-required (deprecated): Configure whether a package requires that anyone publishing it have two-factor authentication enabled on their account. All packages now require either two-factor authentication or a granular access token with bypass 2FA enabled by default. The "Don't require two-factor authentication" option has been removed from the web interface.
4747
4848
- ls-packages (deprecated): Show all of the packages a user or a team is able to access, along with the access level, except for read-only public packages (it won't print the whole registry listing)
4949

0 commit comments

Comments
 (0)