I was wondering when which tables are used and how the secondary group is saved.
1. If I lookup the secondary group in the database it shows me something like this for people which are in two secondary groups:
The question is how is this generated or how could I get the read group ids from? I mean I couldn´t find any table where they are specified.
2. The xf_user_group_relation includes the same information as xf_user, so when is which one used and do they need to be synced at all time?