-
Created new AbstractMuc test to make working on the issue easier. There were some issues with TigaseKernel and injecting dependencies correctly / in correct scope. Added graceful fallback as described in the main comment. Fixed Discovery module as well while on it.
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.3.0
|
Issue Votes (0)
Watchers (0)
#issue #133 introduced option to limit who can create public rooms. However, currently as it states, MUC protocol defines room creation via presence-join, which doesn't allow (or suggest) configuring room before creation, thus creating by default public rooms. In turn this causes majority of the clients that want to create the room to fail if the limitation is for example:
(i.e. create public rooms by domain admin and hidden rooms without restrictions for domain users)
It would be better to gracefully fallback to hidden-room creation on presence-join if the user has permission to create such instead of flatly refusing to create the room altogether.