fix(file importer): add profile:read scope to token (#4941)

This commit is contained in:
Iain Sproat
2025-06-13 13:30:06 +01:00
committed by GitHub
parent f30ef2f9fa
commit 9021f4ed0e
@@ -28,7 +28,7 @@ export const pushJobToFileImporterFactory =
appId: DefaultAppIds.Web,
name: `fileimport-${projectId}@${modelId}`,
userId,
scopes: [Scopes.Streams.Write, Scopes.Streams.Read],
scopes: [Scopes.Streams.Write, Scopes.Streams.Read, Scopes.Profile.Read],
lifespan: 2 * TIME_MS.hour,
limitResources: [
{