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’s 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

psychicteeth picture psychicteeth  ·  3Comments

KellerFuchs picture KellerFuchs  ·  3Comments

golbette picture golbette  ·  3Comments

selfagency picture selfagency  ·  3Comments

sorin-davidoi picture sorin-davidoi  ·  3Comments