mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Inline muc access rules
This commit is contained in:
parent
f56cff925c
commit
75366ca2fd
@ -494,15 +494,9 @@ access_rules:
|
|||||||
## Only admins can use the configuration interface:
|
## Only admins can use the configuration interface:
|
||||||
configure:
|
configure:
|
||||||
- allow: admin
|
- 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:
|
## Only accounts of the local ejabberd server can create rooms:
|
||||||
muc_create:
|
muc_create:
|
||||||
- allow: local
|
- allow: local
|
||||||
## All users are allowed to use the MUC service:
|
|
||||||
muc:
|
|
||||||
- allow
|
|
||||||
## Only accounts on the local ejabberd server can create Pubsub nodes:
|
## Only accounts on the local ejabberd server can create Pubsub nodes:
|
||||||
pubsub_createnode:
|
pubsub_createnode:
|
||||||
- allow: local
|
- allow: local
|
||||||
@ -596,10 +590,12 @@ modules:
|
|||||||
mod_last: {}
|
mod_last: {}
|
||||||
mod_muc:
|
mod_muc:
|
||||||
## host: "conference.@HOST@"
|
## host: "conference.@HOST@"
|
||||||
access: muc
|
access:
|
||||||
|
- allow
|
||||||
|
access_admin:
|
||||||
|
- allow: admin
|
||||||
access_create: muc_create
|
access_create: muc_create
|
||||||
access_persistent: muc_create
|
access_persistent: muc_create
|
||||||
access_admin: muc_admin
|
|
||||||
## mod_muc_log: {}
|
## mod_muc_log: {}
|
||||||
## mod_multicast: {}
|
## mod_multicast: {}
|
||||||
mod_offline:
|
mod_offline:
|
||||||
|
Loading…
Reference in New Issue
Block a user