Skip to content

User: Add more examples for scoped password reset#409

Merged
danielbachhuber merged 1 commit intowp-cli:mainfrom
GaryJones:user-reset-password-document-examples
Jun 8, 2023
Merged

User: Add more examples for scoped password reset#409
danielbachhuber merged 1 commit intowp-cli:mainfrom
GaryJones:user-reset-password-document-examples

Conversation

@GaryJones
Copy link
Contributor

When an account has been compromised, then resetting the passwords of users with a particular role or all users can be helpful.

Rather than add new flags to the user reset-password command, we can document how to combine with the existing user list command instead ("composability is a good idea"). This will then appear when wp user reset-password --help is run.

Fixes #282.

When an account has been compromised, then resetting the passwords of users with a particular role or all users can be helpful.

Rather than add new flags to the `user reset-password` command, we can document how to combine with the existing `user list` command instead (see https://make.wordpress.org/cli/handbook/contributions/philosophy/#composability-is-always-a-good-idea). This will then appear when `wp user reset-password --help` is run.

Fixes #282.
@GaryJones GaryJones requested a review from a team as a code owner June 8, 2023 09:04
@schlessera schlessera added scope:documentation Related to documentation command:user-list Related to 'user list' command command:user-reset-password Related to 'user reset-password' command labels Jun 8, 2023
@schlessera schlessera added this to the 2.5.2 milestone Jun 8, 2023
@danielbachhuber danielbachhuber merged commit 48e9624 into wp-cli:main Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:user-list Related to 'user list' command command:user-reset-password Related to 'user reset-password' command scope:documentation Related to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --all argument to reset-password command

3 participants