feat(server): Per user asset access control (#993)

* Limit asset access to owner

* Check public albums for asset

* Clean up

* Fix test

* Rename repository method

* Simplify control flow

* Revert "Simplify control flow"

This reverts commit 7bc3cbf687aa28cf1cd2674b2bfff6da03024199.

* Revert Makefile change
This commit is contained in:
Matthias Rupp
2022-12-04 18:42:36 +01:00
committed by GitHub
parent 5f2b75997f
commit e8bbad6772
8 changed files with 84 additions and 16 deletions

View File

@@ -26,4 +26,4 @@ prod-scale:
docker-compose -f ./docker/docker-compose.yml up --build -V --scale immich-server=3 --scale immich-microservices=3 --remove-orphans
api:
cd ./server && npm run api:generate
cd ./server && npm run api:generate