aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2009-10-19 17:02:37 +0000
committerBadlop <badlop@process-one.net>2009-10-19 17:02:37 +0000
commitf2a37597cf3e603cbd12b0c866506a8bb84b7ae5 (patch)
treebb1050b97fd8b385e9cbabbdd5f76da4d516e57c /src
parentProvide send_timeout_close option in TCP only in R13B or higher (EJAB-926) (diff)
In default config, only local accounts can create rooms and pubsub nodes.
SVN Revision: 2683
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd.cfg.example11
1 files changed, 7 insertions, 4 deletions
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,[]},