Index: branches/5.2.x/core/units/helpers/user_helper.php =================================================================== diff -u -N -r14432 -r14437 --- branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 14432) +++ branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 14437) @@ -1,6 +1,6 @@ GetDBField('UserType') == UserType::USER ) { + array_push($groups, $this->Application->ConfigValue('User_NewGroup') ); + } + elseif ( $object->GetDBField('UserType') == UserType::ADMIN ) { + array_push($groups, $this->Application->ConfigValue('User_AdminGroup') ); + } + // store groups, because kApplication::CheckPermission will use them! array_push($groups, $this->Application->ConfigValue('User_LoggedInGroup') ); $this->Application->StoreVar( 'UserGroups', implode(',', $groups) );