From f2a37597cf3e603cbd12b0c866506a8bb84b7ae5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 19 Oct 2009 17:02:37 +0000 Subject: In default config, only local accounts can create rooms and pubsub nodes. SVN Revision: 2683 --- src/ejabberd.cfg.example | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ejabberd.cfg.example b/src/ejabberd.cfg.example index f9c522b31..a69261f08 100644 --- a/src/ejabberd.cfg.example +++ b/src/ejabberd.cfg.example @@ -415,11 +415,14 @@ %% Admins of this server are also admins of MUC service: {access, muc_admin, [{allow, admin}]}. +%% Only accounts of the local ejabberd server can create rooms: +{access, muc_create, [{allow, local}]}. + %% All users are allowed to use MUC service: {access, muc, [{allow, all}]}. -%% Everybody can create pubsub nodes -{access, pubsub_createnode, [{allow, all}]}. +%% Only accounts in the local ejabberd server can create Pubsub nodes: +{access, pubsub_createnode, [{allow, local}]}. %% In-band registration allows registration of any possible username. %% To disable in-band registration, replace 'allow' with 'deny'. @@ -494,8 +497,8 @@ {mod_muc, [ %%{host, "conference.@HOST@"}, {access, muc}, - {access_create, muc}, - {access_persistent, muc}, + {access_create, muc_create}, + {access_persistent, muc_create}, {access_admin, muc_admin} ]}, %%{mod_muc_log,[]}, -- cgit v1.2.3