[BUGFIX] Set proper groups in AdminPanel
EXT:frontend's Preview simulation already sets the
userGroup values properly, which allows to simulate
However, this change also needs to be set in EXT:adminpanel
in order to allow usergroups.
This change adds the same change (see #96381) as in
PreviewSimulator in EXT:adminpanel.
This is required as otherwise, the Frontend user would
re-set the userGroup in FrontendUserAuthentication->createUserAspect()
Releases: main, 11.5
Reviewed-by: Oliver Bartsch <email@example.com>
Tested-by: Benni Mack <firstname.lastname@example.org>
Reviewed-by: Benni Mack <email@example.com>
Tested-by: Oliver Bartsch <firstname.lastname@example.org>