Skip to content

High performance self-hosted photo and video management solution.

fix(server): show partners assets on timeline without permission (#10705)

Alex8b6d27f1bc8d
diff --git a/server/src/services/timeline.service.ts b/server/src/services/timeline.service.ts
index fa00fdc58e..b82a16f139 100644
--- a/server/src/services/timeline.service.ts
+++ b/server/src/services/timeline.service.ts
@@ -45,7 +45,11 @@ export class TimelineService {
if (userId) {
userIds = [userId];
if (dto.withPartners) {
- const partnerIds = await getMyPartnerIds({ userId: auth.user.id, repository: this.partnerRepository });
+ const partnerIds = await getMyPartnerIds({
+ userId: auth.user.id,
+ repository: this.partnerRepository,
+ timelineEnabled: true,
+ });
userIds.push(...partnerIds);
}
}