bug(mobile): asset can be deleted from not owned shared album
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
Is this still an issue?
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.
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.
This is from the old timeline, tracking shared album issues on new timeline at #22362.