-
Notifications
You must be signed in to change notification settings - Fork 416
Description
In the configuration manual, the documentation for the room_list_publication_rules option states: "...By default, no list is provided, meaning that no one may publish to the room list (except server admins)."
With a fresh setup using the docker matrixdotorg/synapse:latest docker image I found that even as admin I was not able to publish rooms. I was able to resolve this by explicitly defining a rule to match on the admin's user name. I am not sure if the documentation is incorrect, or if some other part of my setup was wrong. I figured in case anyone else runs into this issue I would share.
Steps to reproduce:
Attempt to publish a room to the public room directory using either element or a post request through the API. Post request returns:
{
"errcode": "M_UNKNOWN",
"error": "Not allowed to publish room"
}
Element presents a vaguer "Unable to publish room - There was an error publishing this room" message
Homeserver:
My own homeserver
Server Version:
{"server_version":"1.142.0"}
Installation Method:
Docker (matrixdotorg/synapse)
Database:
postgres
Workers:
Single process