Hi All,
Can we configure "Ejabberd" to ALLOW only ADMINS to create Public Chatrooms (restricting non admins from creating Public Chatrooms) ? However, non admin users should still be ABLE to create Private Chatrooms.
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Hi All,
Can we configure "Ejabberd" to ALLOW only ADMINS to create Public Chatrooms (restricting non admins from creating Public Chatrooms) ? However, non admin users should still be ABLE to create Private Chatrooms.
Not possible to configure
Not possible to configure different permissions to different ACLs in the same mod_muc.
The only way I can think is to setup two different MUC services, configure one for public rooms only created by admins, and the other for private rooms created by anyone. How to setup two different mod_muc? here is the tricky part: you need to add a vhost. And later show the second MUC in the Service Discovery of the main server.
Let's imagine your vhost is "localhost", then add another almost useless vhost called "12.0.0.1" in this example, configure two mod_muc differently, like this: