Return permissions string when authenticating SFTP

This commit is contained in:
Dane Everitt 2018-11-04 11:09:42 -08:00
parent 0a19e9c55d
commit dd9730b5f8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -102,6 +102,7 @@ class AuthenticateUsingPasswordService
return [ return [
'server' => $server->uuid, 'server' => $server->uuid,
'token' => $this->keyProviderService->handle($server, $user), 'token' => $this->keyProviderService->handle($server, $user),
'permissions' => $permissions ?? ['*'],
]; ];
} }
} }