fix: [keycloak] sync metafields on user creation
parent
63d1ec76eb
commit
91be9ddeda
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue