Add mix task for bulk [un]confirming the local instance users
This commit is contained in:
parent
23ca5f75af
commit
75b6fef25d
4 changed files with 105 additions and 13 deletions
|
|
@ -224,9 +224,10 @@
|
|||
```
|
||||
|
||||
### Options
|
||||
- `--locked`/`--no-locked` - whether the user should be locked
|
||||
- `--moderator`/`--no-moderator` - whether the user should be a moderator
|
||||
- `--admin`/`--no-admin` - whether the user should be an admin
|
||||
- `--admin`/`--no-admin` - the user account admin status
|
||||
- `--confirmed`/`--no-confirmed` - the user account confirmation status
|
||||
- `--locked`/`--no-locked` - the user account locked status
|
||||
- `--moderator`/`--no-moderator` - the user account moderator status
|
||||
|
||||
## Add tags to a user
|
||||
|
||||
|
|
@ -271,3 +272,33 @@
|
|||
```sh
|
||||
mix pleroma.user toggle_confirmed <nickname>
|
||||
```
|
||||
|
||||
## Set confirmation status for all regular active users
|
||||
*Admins and moderators are excluded*
|
||||
|
||||
=== "OTP"
|
||||
|
||||
```sh
|
||||
./bin/pleroma_ctl user confirm_all
|
||||
```
|
||||
|
||||
=== "From Source"
|
||||
|
||||
```sh
|
||||
mix pleroma.user confirm_all
|
||||
```
|
||||
|
||||
## Revoke confirmation status for all regular active users
|
||||
*Admins and moderators are excluded*
|
||||
|
||||
=== "OTP"
|
||||
|
||||
```sh
|
||||
./bin/pleroma_ctl user unconfirm_all
|
||||
```
|
||||
|
||||
=== "From Source"
|
||||
|
||||
```sh
|
||||
mix pleroma.user unconfirm_all
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue