fix: [keycloak] sync metafields on user creation

dependabot/npm_and_yarn/webroot/theme/braces-3.0.3
iglocska 2024-04-09 12:21:24 +02:00
parent 63d1ec76eb
commit 91be9ddeda
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 7 additions and 0 deletions

View File

@ -80,6 +80,13 @@ class UsersTable extends AppTable
return $success;
}
public function afterSave(EventInterface $event, EntityInterface $entity, ArrayObject $options)
{
if ($entity->isNew()) {
$this->handleUserUpdateRouter($entity);
}
}
private function checkPermissionRestrictions(EntityInterface $entity)
{
if (!isset($this->PermissionLimitations)) {