Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to remove images from an owned shared album. #9882

Closed
3 tasks done
nickstrand opened this issue May 30, 2024 · 2 comments · Fixed by #10687
Closed
3 tasks done

Unable to remove images from an owned shared album. #9882

nickstrand opened this issue May 30, 2024 · 2 comments · Fixed by #10687

Comments

@nickstrand
Copy link

The bug

When uploading pictures to a shared album as a named user, the permissions on the image remain with said user - instead of allowing both that user and the owner of the album to remove the image. It removes the image from the webui, however a refresh brings it back immediately

image
image

The OS that Immich Server is running on

Docker in Kubernetes (ghcr.io/immich-app/immich-server:release)

Version of Immich Server

v1.105.1

Version of Immich Mobile App

v1.105.0 build.139

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Standard but migrated to a kubernetes yaml

Your .env content

Standard but migrated to a kubernetes yaml

Reproduction steps

1. Create a shared album as user A (album owner) with one image
2. Share with user B
3. Upload an image to the shared album from user B (image owner)
4. Log into user A and select the image uploaded from user B
5. Click the three dots and select remove from album
- Expected result of it showing 1 removed from user A's album, without deleting the image from user B's files

Relevant log output

[Nest] 1  - 05/30/2024, 3:02:04 AM VERBOSE [ImmichServer] [LoggingInterceptor] [x8g6lu4v] DELETE /api/album/84d611ec-6aaa-468a-be33-66d76548f7e6/assets 200 61.41ms ::ffff:192.168.2.244
[Nest] 1  - 05/30/2024, 3:02:04 AM VERBOSE [ImmichServer] [LoggingInterceptor] [x737v82p] GET /api/album/84d611ec-6aaa-468a-be33-66d76548f7e6 200 79.42ms ::ffff:192.168.2.244
[Nest] 1  - 05/30/2024, 3:02:04 AM VERBOSE [ImmichServer] [LoggingInterceptor] [6knz31d6] GET /api/activity 200 10.50ms ::ffff:192.168.2.244
[Nest] 1  - 05/30/2024, 3:02:04 AM VERBOSE [ImmichServer] [LoggingInterceptor] [2v4m4obg] GET /api/album/84d611ec-6aaa-468a-be33-66d76548f7e6 200 34.62ms ::ffff:192.168.2.244
[Nest] 1  - 05/30/2024, 3:02:04 AM VERBOSE [ImmichServer] [LoggingInterceptor] [7r62eb6t] GET /api/activity/statistics 200 35.83ms ::ffff:192.168.2.244
[Nest] 1  - 05/30/2024, 3:02:04 AM VERBOSE [ImmichServer] [LoggingInterceptor] [guo9knec] GET /api/activity 200 12.13ms ::ffff:192.168.2.244
[Nest] 1  - 05/30/2024, 3:02:04 AM VERBOSE [ImmichServer] [LoggingInterceptor] [b04dwvn6] GET /api/activity/statistics 200 11.62ms ::ffff:192.168.2.244

Additional information

No response

@chowhi123
Copy link

I am using docker via portainer 1.5.1 and app is 1.5.0 on both ios and android. I am experiencing the same issues.

@commanderalpha
Copy link

Hi,
I stumbled across the same problem while cleaning up the vacation pictures... after selecting over a hundred.
BR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants