mirror of
https://github.com/immich-app/immich.git
synced 2026-06-05 14:25:16 -04:00
refactor!: remove my shared link dto (#27023)
refactor!: remove deprecated shared link apis
This commit is contained in:
@@ -79,11 +79,6 @@ const checkSharedLinkAccess = async (
|
||||
return sharedLink.allowUpload ? ids : new Set();
|
||||
}
|
||||
|
||||
case Permission.AssetShare: {
|
||||
// TODO: fix this to not use sharedLink.userId for access control
|
||||
return await access.asset.checkOwnerAccess(sharedLink.userId, ids, false);
|
||||
}
|
||||
|
||||
case Permission.AlbumRead: {
|
||||
return await access.album.checkSharedLinkAccess(sharedLinkId, ids);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user