mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
In default config, only local accounts can create rooms and pubsub nodes.
SVN Revision: 2684
This commit is contained in:
parent
0095f4fbf9
commit
6b4651fad6
@ -2233,11 +2233,11 @@ is replaced at start time with the real virtual host name.
|
|||||||
</DD><DT CLASS="dt-description"><B><TT>{access, AccessName}</TT></B></DT><DD CLASS="dd-description"> You can specify who is allowed to use
|
</DD><DT CLASS="dt-description"><B><TT>{access, AccessName}</TT></B></DT><DD CLASS="dd-description"> You can specify who is allowed to use
|
||||||
the Multi-User Chat service. By default everyone is allowed to use it.
|
the Multi-User Chat service. By default everyone is allowed to use it.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{access_create, AccessName}</TT></B></DT><DD CLASS="dd-description"> To configure who is
|
</DD><DT CLASS="dt-description"><B><TT>{access_create, AccessName}</TT></B></DT><DD CLASS="dd-description"> To configure who is
|
||||||
allowed to create new rooms at the Multi-User Chat service, this option
|
allowed to create new rooms at the Multi-User Chat service, this option can be used.
|
||||||
can be used. By default everybody is allowed to create rooms.
|
By default any account in the local ejabberd server is allowed to create rooms.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{access_persistent, AccessName}</TT></B></DT><DD CLASS="dd-description"> To configure who is
|
</DD><DT CLASS="dt-description"><B><TT>{access_persistent, AccessName}</TT></B></DT><DD CLASS="dd-description"> To configure who is
|
||||||
allowed to modify the ’persistent’ room option.
|
allowed to modify the ’persistent’ room option.
|
||||||
By default everybody is allowed to modify that option.
|
By default any account in the local ejabberd server is allowed to modify that option.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{access_admin, AccessName}</TT></B></DT><DD CLASS="dd-description"> This option specifies
|
</DD><DT CLASS="dt-description"><B><TT>{access_admin, AccessName}</TT></B></DT><DD CLASS="dd-description"> This option specifies
|
||||||
who is allowed to administrate the Multi-User Chat service. The default
|
who is allowed to administrate the Multi-User Chat service. The default
|
||||||
value is <TT>none</TT>, which means that only the room creator can
|
value is <TT>none</TT>, which means that only the room creator can
|
||||||
@ -2718,7 +2718,9 @@ is replaced at start time with the real virtual host name.
|
|||||||
|
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{access_createnode, AccessName}</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>{access_createnode, AccessName}</TT></B></DT><DD CLASS="dd-description">
|
||||||
This option restricts which users are allowed to create pubsub nodes using
|
This option restricts which users are allowed to create pubsub nodes using
|
||||||
ACL and ACCESS. The default value is <TT>pubsub_createnode</TT>. </DD><DT CLASS="dt-description"><B><TT>{max_items_node, MaxItems}</TT></B></DT><DD CLASS="dd-description">
|
ACL and ACCESS.
|
||||||
|
By default any account in the local ejabberd server is allowed to create pubsub nodes.
|
||||||
|
</DD><DT CLASS="dt-description"><B><TT>{max_items_node, MaxItems}</TT></B></DT><DD CLASS="dd-description">
|
||||||
Define the maximum number of items that can be stored in a node.
|
Define the maximum number of items that can be stored in a node.
|
||||||
Default value is 10.
|
Default value is 10.
|
||||||
</DD><DT CLASS="dt-description"><B><TT>{plugins, [ Plugin, ...]}</TT></B></DT><DD CLASS="dd-description">
|
</DD><DT CLASS="dt-description"><B><TT>{plugins, [ Plugin, ...]}</TT></B></DT><DD CLASS="dd-description">
|
||||||
|
@ -2942,11 +2942,11 @@ Module options:
|
|||||||
\titem{\{access, AccessName\}} \ind{options!access}You can specify who is allowed to use
|
\titem{\{access, AccessName\}} \ind{options!access}You can specify who is allowed to use
|
||||||
the Multi-User Chat service. By default everyone is allowed to use it.
|
the Multi-User Chat service. By default everyone is allowed to use it.
|
||||||
\titem{\{access\_create, AccessName\}} \ind{options!access\_create}To configure who is
|
\titem{\{access\_create, AccessName\}} \ind{options!access\_create}To configure who is
|
||||||
allowed to create new rooms at the Multi-User Chat service, this option
|
allowed to create new rooms at the Multi-User Chat service, this option can be used.
|
||||||
can be used. By default everybody is allowed to create rooms.
|
By default any account in the local ejabberd server is allowed to create rooms.
|
||||||
\titem{\{access\_persistent, AccessName\}} \ind{options!access\_persistent}To configure who is
|
\titem{\{access\_persistent, AccessName\}} \ind{options!access\_persistent}To configure who is
|
||||||
allowed to modify the 'persistent' room option.
|
allowed to modify the 'persistent' room option.
|
||||||
By default everybody is allowed to modify that option.
|
By default any account in the local ejabberd server is allowed to modify that option.
|
||||||
\titem{\{access\_admin, AccessName\}} \ind{options!access\_admin}This option specifies
|
\titem{\{access\_admin, AccessName\}} \ind{options!access\_admin}This option specifies
|
||||||
who is allowed to administrate the Multi-User Chat service. The default
|
who is allowed to administrate the Multi-User Chat service. The default
|
||||||
value is \term{none}, which means that only the room creator can
|
value is \term{none}, which means that only the room creator can
|
||||||
@ -3486,7 +3486,8 @@ Options:
|
|||||||
\hostitem{pubsub}
|
\hostitem{pubsub}
|
||||||
\titem{\{access\_createnode, AccessName\}} \ind{options!access\_createnode}
|
\titem{\{access\_createnode, AccessName\}} \ind{options!access\_createnode}
|
||||||
This option restricts which users are allowed to create pubsub nodes using
|
This option restricts which users are allowed to create pubsub nodes using
|
||||||
ACL and ACCESS. The default value is \term{pubsub\_createnode}. % Not clear enough + do not use abbreviations.
|
ACL and ACCESS.
|
||||||
|
By default any account in the local ejabberd server is allowed to create pubsub nodes.
|
||||||
\titem{\{max\_items\_node, MaxItems\}} \ind{options!max\_items\_node}
|
\titem{\{max\_items\_node, MaxItems\}} \ind{options!max\_items\_node}
|
||||||
Define the maximum number of items that can be stored in a node.
|
Define the maximum number of items that can be stored in a node.
|
||||||
Default value is 10.
|
Default value is 10.
|
||||||
|
@ -415,11 +415,14 @@
|
|||||||
%% Admins of this server are also admins of MUC service:
|
%% Admins of this server are also admins of MUC service:
|
||||||
{access, muc_admin, [{allow, admin}]}.
|
{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:
|
%% All users are allowed to use MUC service:
|
||||||
{access, muc, [{allow, all}]}.
|
{access, muc, [{allow, all}]}.
|
||||||
|
|
||||||
%% Everybody can create pubsub nodes
|
%% Only accounts in the local ejabberd server can create Pubsub nodes:
|
||||||
{access, pubsub_createnode, [{allow, all}]}.
|
{access, pubsub_createnode, [{allow, local}]}.
|
||||||
|
|
||||||
%% In-band registration allows registration of any possible username.
|
%% In-band registration allows registration of any possible username.
|
||||||
%% To disable in-band registration, replace 'allow' with 'deny'.
|
%% To disable in-band registration, replace 'allow' with 'deny'.
|
||||||
@ -493,8 +496,8 @@
|
|||||||
{mod_muc, [
|
{mod_muc, [
|
||||||
%%{host, "conference.@HOST@"},
|
%%{host, "conference.@HOST@"},
|
||||||
{access, muc},
|
{access, muc},
|
||||||
{access_create, muc},
|
{access_create, muc_create},
|
||||||
{access_persistent, muc},
|
{access_persistent, muc_create},
|
||||||
{access_admin, muc_admin}
|
{access_admin, muc_admin}
|
||||||
]},
|
]},
|
||||||
%%{mod_muc_log,[]},
|
%%{mod_muc_log,[]},
|
||||||
|
Loading…
Reference in New Issue
Block a user