aboutsummaryrefslogtreecommitdiff
path: root/ejabberd.yml.example
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2016-06-24 15:12:58 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2016-06-24 15:12:58 +0200
commit75366ca2fdc1979cc4bac62126e12c0764639de3 (patch)
treea5bf78453a30660dd59c55fe3ce3ac1752f2eee7 /ejabberd.yml.example
parentacl: ACLName rule should match if any part of ACLName matches (diff)
Inline muc access rules
Diffstat (limited to '')
-rw-r--r--ejabberd.yml.example12
1 files changed, 4 insertions, 8 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index 54bee7b26..72439e5e1 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -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: