add write access to shared link

This commit is contained in:
mgabor
2024-04-17 12:51:51 +02:00
parent cecb99b4b6
commit e1ea436c5e
+6
View File
@@ -144,6 +144,12 @@ export class AccessCore {
: new Set(); : new Set();
} }
case Permission.ALBUM_WRITE: {
return sharedLink.allowUpload
? await this.repository.album.checkSharedLinkAccess(sharedLinkId, ids)
: new Set();
}
default: { default: {
return new Set(); return new Set();
} }