immich icon indicating copy to clipboard operation
immich copied to clipboard

bug(mobile): asset can be deleted from not owned shared album

Open waclaw66 opened this issue 1 year ago • 2 comments

The bug

There is possible to perform asset delete from not owned shared album. Asset is removed from local album only, it's not removed from album on server.

Seems many other actions can be done with an asset within not owned album:

  • Remove from album
  • Remove to trash
  • Add to another album
  • Favorite asset

Those actions shouldn't be visible while interacting with an asset.

The OS that Immich Server is running on

Fedora 39

Version of Immich Server

v.1.99.0

Version of Immich Mobile App

v.1.99.0

Platform with the issue

  • [ ] Server
  • [ ] Web
  • [X] Mobile

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

1. go to album that is shared with you
2. select an asset
3. click to Remove from album
4. asset is removed from local album, however stays in it on server

Additional information

No response

waclaw66 avatar Mar 23 '24 09:03 waclaw66

Is this still an issue?

jrasm91 avatar Sep 07 '24 12:09 jrasm91

In short, yes. Currently when an asset is selected and removed from album, nothing happens, asset stays there, that's a progress. Additionaly trashing assets shows message that partner asset cannot be deleted, that's misleading, there are no partners. There is inconsistence between web client, that doesn't show any remove buttons, mobile client show Trash asset and Remove from album.

waclaw66 avatar Sep 08 '24 18:09 waclaw66

Just noticed this behavior with albums shared with me in the current mobile app (version 1.124) on iOS and Android as well. Specifically the "Remove from album" button, when an asset is viewed, is confusing.

This could be solved by not displaying the "Remove from album" button in albums shared with me for assets that are not owned by me.

klaus1k avatar Jan 12 '25 10:01 klaus1k

This is from the old timeline, tracking shared album issues on new timeline at #22362.

bwees avatar Sep 24 '25 17:09 bwees