Add privileges functions (#530)

I add two new commands make_mod and revoke_staff
This commit is contained in:
Mathias B 2018-02-02 11:08:14 +01:00 committed by Eugen Rochko
parent eb01b3a9f2
commit f42e0ce5c8
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ Furthermore, in the command, `rake` is interchangeable with `rails`
|Task|Description|Usage|
|----|-----------|-----|
|mastodon:make_admin|Turn a user into an admin|USERNAME=yourname|
|mastodon:make_mod|Turn a user into an moderator|USERNAME=yourname|
|mastodon:revoke_staff|Revoke admin or moderator privileges of a specified user|USERNAME=yourname|
|mastodon:confirm_email|Confirm a user manually|USER_EMAIL=your@email|
|mastodon:add_user|Create new user|(Interactive)|
|mastodon:users:admins|List e-mails of all admins|