diff --git a/app/Services/Sftp/AuthenticateUsingPasswordService.php b/app/Services/Sftp/AuthenticateUsingPasswordService.php index 690573926..4310a50f6 100644 --- a/app/Services/Sftp/AuthenticateUsingPasswordService.php +++ b/app/Services/Sftp/AuthenticateUsingPasswordService.php @@ -102,6 +102,7 @@ class AuthenticateUsingPasswordService return [ 'server' => $server->uuid, 'token' => $this->keyProviderService->handle($server, $user), + 'permissions' => $permissions ?? ['*'], ]; } }