Hello I do not know if this is a bug or something but we just updated to craft 2.3 and got an issue which we did not have previously. In user settings we can set the default permissions group but when we do create a new user this group is not applied to that user.Im not sure why this is, maybe something more needs to be done beginning Craft 2.3 but the simple flow of creating a new user worked previously. Upon the user account creation the default group would be set automatically.
EDIT:
Thank you for your answers. I was mistaken it is assigning the group but I cant get that group on an event trigger.
craft()->on('users.saveUser', function(Event $event) {
$user = $event->params['user'];
var_dump($user->getGroups()); exit();
});
I am doing the above in my plugins main PHP file and for some reason before updating it would give me the users group as the default one already assigned. After the update I get a empty array even though going to the control panel after registering I can see that the new user has the group assigned.