]> granicus.if.org Git - ejabberd/commitdiff
Inline muc access rules
authorPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 24 Jun 2016 13:12:58 +0000 (15:12 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 24 Jun 2016 13:12:58 +0000 (15:12 +0200)
ejabberd.yml.example

index 54bee7b26aea63b0d10d72b23c2316863911dda8..72439e5e1889fc3461d7cb13c47b3f7ee89f213a 100644 (file)
@@ -494,15 +494,9 @@ access_rules:
   ## Only admins can use the configuration interface:
   configure: 
     - 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:
   muc_create: 
     - allow: local
-  ## All users are allowed to use the MUC service:
-  muc: 
-    - allow
   ## Only accounts on the local ejabberd server can create Pubsub nodes:
   pubsub_createnode: 
     - allow: local
@@ -596,10 +590,12 @@ modules:
   mod_last: {}
   mod_muc: 
     ## host: "conference.@HOST@"
-    access: muc
+    access:
+      - allow
+    access_admin:
+      - allow: admin
     access_create: muc_create
     access_persistent: muc_create
-    access_admin: muc_admin
   ## mod_muc_log: {}
   ## mod_multicast: {}
   mod_offline: