MUC Group ACLs are not updated when users join a group
Description
Forum user reports that when a MUC room has a group ACL set, this group ACL does not get modified when a user is added to a group. The user has to restart the server to get the ACL to update properly.
Environment
None
Activity
Show:
Tom Evans October 19, 2015 at 10:56 PM
Edited
Updated secondary cache to manage group names only (rather than group instances) to enable group retrieval from the primary cache, and also avoid creating orphaned groups. PR under review.
Tom Evans October 19, 2015 at 5:07 PM
Currently evaluating additional discussion (via Github contribution) about removing secondary caching entirely.
OK, confirmed this is a caching issue in the GroupAwareMap implementation. Investigating options to clear the cache when a corresponding Group is updated; will report back shortly.
Sascha Ohms September 7, 2015 at 12:56 PM
I experience the exact same issue in my 3.10.2 environment. As a workaround I just remove groups from a MUC's ACL and re-add it. This will kick everyone out of the room, but it will work afterwards.
Forum user reports that when a MUC room has a group ACL set, this group ACL does not get modified when a user is added to a group. The user has to restart the server to get the ACL to update properly.