Primary group not being set

On my site, I have the Patreon integration working so there are 3 levels, let’s call them level 1, 2 and 3.

Depending on what level you are on decides what themes you can use.
Level 1: restricted to 1 theme
Level 2 and 3: use any theme

I’ve set the Level 2 and 3 users to automatically be put into Level 2 and 3 groups and to set these as Primary (as well as being added to the default Patron group, which is set not as Primary).

But for some reason when I check each user that is in Level 2 or 3 groups, they are not getting the group they belong to set as Primary.

What is happening:

  1. User joins ‘level 2’ patreon subscription
  2. User is automatically added to ‘Patron’ group
  3. User is automatically added to ‘Level 2’ group, which is set to be primary group
  4. User cannot see themes until I set their ‘Level 2’ group as primary, manually

What I would like to be happening:

  1. User joins ‘level 2’ patreon subscription
  2. User is automatically added to ‘Patron’ group
  3. User is automatically added to ‘Level 2’ group, which is set to be primary group
  4. User can see all themes as their ‘Level 2’ group is set as primary, automatically

Can anyone offer any insight?

3 Likes