Not a bug User criteria 'secondary group' does not match XF1 behaviour (notices/user promotions)

Xon

Well-known member
Affected version
2.0.10
In XF1, the "Secondary user groups" and "Not in secondary groups " user criteria match the user's secondary user group list. Only.

However in XF2, "Secondary user groups" and "Not in secondary groups " match the primary user group and secondary user group list.

The issue is the use of the isMemberOf function which checks the primary user group and the secondary user groups
 
Last edited:
Can you screenshot where you're seeing these criteria (for notices/promotions)?

The default criteria in both XF1 and XF2 is "user is <NOT> a member of any of the selected user groups". (Internally, the criteria is known as user_groups/not_user_groups.)

The XF1 code does check the user's primary group as well.
 
@Mike apologies, it looks like I got confused when jumping between the entity-base criteria system and the Finder based criteria system.

This can get closed as not-a-bug.
 
Top Bottom