We're updating the issue view to help you get more done. 

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

Acceptance Test - Entry

None

Activity

Show:
Sascha Ohms
September 7, 2015, 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.

Tom Evans
October 15, 2015, 8:20 PM

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.

Tom Evans
October 16, 2015, 3:42 PM

Submitted PR #311.

Tom Evans
October 19, 2015, 5:07 PM

Currently evaluating additional discussion (via Github contribution) about removing secondary caching entirely.

Tom Evans
October 19, 2015, 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.

Assignee

Tom Evans

Reporter

Daryl Herzmann

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure