mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 19:38:54 +03:00
add write access to shared link
This commit is contained in:
@@ -144,6 +144,12 @@ export class AccessCore {
|
||||
: new Set();
|
||||
}
|
||||
|
||||
case Permission.ALBUM_WRITE: {
|
||||
return sharedLink.allowUpload
|
||||
? await this.repository.album.checkSharedLinkAccess(sharedLinkId, ids)
|
||||
: new Set();
|
||||
}
|
||||
|
||||
default: {
|
||||
return new Set();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user