Mastodon: Admin should not be able to suspend own account

Created on 1 Jul 2017  路  3Comments  路  Source: tootsuite/mastodon

If you are admin on an instance and you go to Administration->Accounts and choose your own account the Suspend Account button should not exist or should be disable to avoid suspending yourself by mistake.


  • [x] I searched or browsed the repo鈥檚 other issues to ensure this is not a duplicate.
  • [x] This bug happens on a tagged release and not on master (If you're a user, don't worry about this).
admin support

Most helpful comment

If this happens to you by mistake you can remove the suspension manually from the database with something like

su - postgres
psql
\connect mastodon_production
update accounts set suspended='f' where username='YOUR_USERNAME';

BTW: don't test suspending your account in production as you will break it completely. Found that the hard way :)

All 3 comments

If this happens to you by mistake you can remove the suspension manually from the database with something like

su - postgres
psql
\connect mastodon_production
update accounts set suspended='f' where username='YOUR_USERNAME';

BTW: don't test suspending your account in production as you will break it completely. Found that the hard way :)

Seems fixed, I don't see a "perform full suspension" or "silence" button on my own account.

fixed in #5635

Was this page helpful?
0 / 5 - 0 ratings

Related issues

golbette picture golbette  路  3Comments

phryk picture phryk  路  3Comments

Gargron picture Gargron  路  3Comments

psychicteeth picture psychicteeth  路  3Comments

flukejones picture flukejones  路  3Comments