Projects tigase _server tigase-muc Issues #133
Add component option to let only admins create rooms (#133)
Closed
wojciech.kapcia@tigase.net opened 4 years ago

Add limitation, possibly in PresenceModule that only admins would be able to create room.

Probably we could re-use current ACL permission list (https://docs.tigase.net/tigase-server/master-snapshot/Administration_Guide/html/#accessControlList). Maybe it would be good to allow configuration on component (i.e. dedicated component instance) and/or VHost?

wojciech.kapcia@tigase.net commented 4 years ago

Please follow what was implemented in MIX:

  • configuration option for publicly visible (doscoverable) rooms with default DOMAIN_ADMIN ACL
  • configuration option for hidden/private rooms with default DOMAIN

(see https://projects.tigase.net/issue/mix-14#focus=Comments-4-27494.0-0 )

wojciech.kapcia@tigase.net commented 3 years ago

Changed the defaults to match the MIX, otherwise works ok.

wojciech.kapcia@tigase.net commented 2 years ago

The feature is configurable via two options: hidden-room-creation-acl and public-room-creation-acl and follow ACL options defined for Tigase Server (https://docs.tigase.net/projects/tigase-tigase-mix/en/latest/Configuration.html#setting-acl)

muc () {
    mucConfig () {
        'hidden-room-creation-acl' = DOMAIN
        'public-room-creation-acl' = DOMAIN_ADMIN
    }
}
issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
tigase-server-8.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-muc#133
Please wait...
Page is in error, reload to recover