From 75366ca2fdc1979cc4bac62126e12c0764639de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 24 Jun 2016 15:12:58 +0200 Subject: Inline muc access rules --- ejabberd.yml.example | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'ejabberd.yml.example') diff --git a/ejabberd.yml.example b/ejabberd.yml.example index 54bee7b2..72439e5e 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: -- cgit v1.2.3