Primary group retained in post json even after group removed from user

(PJH) #1

Documented here (and the next few posts): Login to your account - What the Daily WTF?

Circumstances leading to the apparent issue:

  1. Add a group to a user
  2. Make the primary group of that user that group
  3. Remove that group from the user

a) note that on the admin screen, the user no longer has a primary group (apparently correctly removed)
b) post jsons however retain the old group as the primary:


I don’t have a primary group and I’m no longer a member of bots:

(Sam Saffron) #2

Fixed via:

Might also add a consistency check for this, but for now you need add/remove group from existing users

(Sam Saffron) #3