diff --git a/framework/core/src/Api/Serializers/UserSerializer.php b/framework/core/src/Api/Serializers/UserSerializer.php index a0bae1ebc..927e3e1af 100644 --- a/framework/core/src/Api/Serializers/UserSerializer.php +++ b/framework/core/src/Api/Serializers/UserSerializer.php @@ -26,7 +26,7 @@ class UserSerializer extends UserBasicSerializer ]; } - if ($canEdit) { + if ($canEdit || $this->actor->id === $user->id) { $attributes += [ 'isActivated' => $user->is_activated, 'email' => $user->email