ejabberd block room creation

I installed ejabberd 16.06 few weeks back. I have around 40+ users using it. I have 3 rooms created too.

I see that anyone can create rooms in it. How can I block this? Only selected users or root user having access ejabberctl should be able to create rooms. How can I setup that way?

With the access_create option

With the access_create option in mod_muc. See the second example in https://docs.ejabberd.im/admin/guide/configuration/#modmuc

Syndicate content