Updated Home (markdown)

Aaron Raimist 2020-06-04 19:40:31 -05:00
parent 0ccdd12785
commit 4395a87f7f
1 changed files with 4 additions and 1 deletions

@ -1,7 +1,10 @@
How do I become a server admin?
---
If your server already has an admin account you should use the user admin API to promote other accounts to become admins. See https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/user_admin_api.rst#change-whether-a-user-is-a-server-administrator-or-not.
UPDATE users SET admin = 1 WHERE name = '@foo:bar.com'
If you don't have any admin accounts yet you won't be able to use the admin API so you'll have to edit the database manually. Manually editing the database is generally not recommended so once you have an admin account, use the admin APIs to make further changes.
UPDATE users SET admin = 1 WHERE name = '@foo:bar.com';
What servers are my server talking to?
---