Commit 36e54363 authored by Luna's avatar Luna 😻

add definition of access rules

parent d29edcce
......@@ -453,14 +453,17 @@ acl:
shaper_rules:
## Maximum number of simultaneous sessions allowed for a single user:
max_user_sessions: 10
## Maximum number of offline messages that users can have:
max_user_offline_messages:
- 5000: admin
- 100
## For C2S connections, all users except admins use the "normal" shaper
c2s_shaper:
- none: admin
- normal
## Limit storage of users to 100MiB before old files start to get removed
soft_upload_quota:
- 75: all # MiB
......@@ -471,6 +474,8 @@ shaper_rules:
###. ============
###' ACCESS RULES
## define access rules for other parts of this configuration to use
access_rules:
## This rule allows access only for local users:
local:
......@@ -492,7 +497,7 @@ access_rules:
pubsub_createnode:
- allow: local
## In-band registration allows registration of any possible username.
## To disable in-band registration, replace 'allow' with 'deny'.
## NOTE: To disable in-band registration, replace 'allow' with 'deny'.
register:
- allow
allnetworks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment