mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Merge e3df5a5420
into b0850e5e51
This commit is contained in:
commit
4abd184990
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ Actually there are no functions in the client interface to set a user as admin.
|
||||||
|
|
||||||
The following command will grant admin privilege to the specified user:
|
The following command will grant admin privilege to the specified user:
|
||||||
```
|
```
|
||||||
su --command="psql matrix_synapse" postgres <<< "UPDATE users SET admin = 1 WHERE name = '@user_to_be_admin:domain.tld'"
|
sudo su --command="psql matrix_synapse" postgres <<< "UPDATE users SET admin = 1 WHERE name = '@user_to_be_admin:domain.tld'"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Administration API
|
### Administration API
|
||||||
|
|
Loading…
Add table
Reference in a new issue