I would like to add three groups. For example: Registered, Group A, and Group B.
There is a user manager that would enable only the users for group A, and a user manager that could only do the same for the group B.
How can I add both groups in a user per example?, because right now I when I try to add both groups in the user independently, the other group remains out of the #_user_usergroup_map ?
I actually are doing that, but the situation is, I want to isolate the possibility that one o the managers can change the other manager selection. I want to find a way to add a separated selection in "group" without the possibility on interference from the other manager.
Probably easiest would be to add 2 fields, e.g. radio buttons, where
one field would only be visible to admin a and second to admin b (using
one of the restriction plugins e.g. joomla user or group restriciton
from acl pack ) and hidden field user groups. Then in beforeStore
calculate value of user groups field based on a and b field values.