25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Inline muc access rules

This commit is contained in:
Paweł Chmielowski 2016-06-24 15:12:58 +02:00
parent f56cff925c
commit 75366ca2fd

View File

@ -494,15 +494,9 @@ access_rules:
## Only admins can use the configuration interface:
configure:
- allow: admin
## Admins of this server are also admins of the MUC service:
muc_admin:
- allow: admin
## Only accounts of the local ejabberd server can create rooms:
muc_create:
- allow: local
## All users are allowed to use the MUC service:
muc:
- allow
## Only accounts on the local ejabberd server can create Pubsub nodes:
pubsub_createnode:
- allow: local
@ -596,10 +590,12 @@ modules:
mod_last: {}
mod_muc:
## host: "conference.@HOST@"
access: muc
access:
- allow
access_admin:
- allow: admin
access_create: muc_create
access_persistent: muc_create
access_admin: muc_admin
## mod_muc_log: {}
## mod_multicast: {}
mod_offline: