Migrate Connect org logos to File type
Replace Organization.logoUrl and horizontalLogoUrl with nested File
objects whose downloadUrl points at /api/files/v1/public/{id}, matching
the Console migration.
Org logos are FileVisibilityPublic and served without HTTP auth, so
Connect File.downloadUrl is built eagerly in NewFile with no field-level
authorize. Logo loading moves to iam.OrganizationService.LogoFile and
HorizontalLogoFile; the old URL generators are removed.
Sync IAM Relay components and n8n organization operations. Add an e2e
test for Connect multipart logo upload and ExecuteConnectWithFile.
Signed-off-by: Ludovic Vielle <ludovic@probo.com>
This commit is contained in:
@@ -68,8 +68,16 @@ export async function execute(
|
||||
websiteUrl
|
||||
email
|
||||
headquarterAddress
|
||||
logoUrl
|
||||
horizontalLogoUrl
|
||||
logo {
|
||||
id
|
||||
fileName
|
||||
downloadUrl
|
||||
}
|
||||
horizontalLogo {
|
||||
id
|
||||
fileName
|
||||
downloadUrl
|
||||
}
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user