1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-09 05:16:47 +01:00
immich/server/src/domain
Michael Manganiello 030cd8c4c4
chore(server): Prepare access interfaces for bulk permission checks (#5223)
* chore(server): Prepare access interfaces for bulk permission checks

This change adds the `AccessCore.getAllowedIds` method, to evaluate
permissions in bulk, along with some other `getAllowedIds*` private
methods.

The added methods still calculate permissions by id, and are not
optimized to reduce the amount of queries and execution time, which will
be implemented in separate pull requests.

Services that were evaluating permissions in a loop have been refactored
to make use of the bulk approach.

* chore(server): Apply review suggestions

* chore(server): Make multiple-permission check more readable
2023-11-22 23:04:52 -05:00
..
access chore(server): Prepare access interfaces for bulk permission checks (#5223) 2023-11-22 23:04:52 -05:00
activity fix(server,web): correctly show album level like (#4916) 2023-11-09 21:32:31 -05:00
album chore(server): Prepare access interfaces for bulk permission checks (#5223) 2023-11-22 23:04:52 -05:00
api-key refactor: domain repositories (#4403) 2023-10-09 14:25:03 +00:00
asset feat(server): asset search endpoint (#4931) 2023-11-14 22:47:15 +00:00
audit fix(server): dot files (#4625) 2023-10-24 11:08:18 -05:00
auth feat(web,server): user avatar color (#4779) 2023-11-14 03:10:35 +00:00
job feat(server): custom library scanning interval (#4390) 2023-10-31 15:19:12 -05:00
library feat(server): custom library scanning interval (#4390) 2023-10-31 15:19:12 -05:00
media feat(server): hardware video acceleration for Rockchip SOCs via RKMPP (#4645) 2023-10-30 09:39:37 -05:00
metadata fix(server): override date via xmp (#5199) 2023-11-21 10:58:56 -06:00
partner chore(server): improve e2e test speed (#5026) 2023-11-14 20:08:22 -05:00
person chore(server): Prepare access interfaces for bulk permission checks (#5223) 2023-11-22 23:04:52 -05:00
repositories fix(server): album perf query (#5232) 2023-11-21 10:07:49 -06:00
search fix: suggest people (#4566) 2023-10-24 15:53:49 +00:00
server-info fix: replace first and last name with single field (#4915) 2023-11-11 19:03:32 -06:00
shared-link chore(server): Prepare access interfaces for bulk permission checks (#5223) 2023-11-22 23:04:52 -05:00
smart-info feat(ml): export clip models to ONNX and host models on Hugging Face (#4700) 2023-10-31 05:02:04 -05:00
storage refactor(server): make storage core singleton (#4608) 2023-10-23 11:52:21 -04:00
storage-template refactor(server): user core (#4733) 2023-10-31 11:01:32 -04:00
system-config feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
tag fix(server,web): correctly remove metadata from shared links (#4464) 2023-10-14 01:46:30 +00:00
user feat(web,server): user avatar color (#4779) 2023-11-14 03:10:35 +00:00
domain.config.ts refactor(server)*: tsconfigs (#2689) 2023-06-08 10:01:07 -05:00
domain.constant.spec.ts feat(format): bmp format (#5197) 2023-11-20 13:47:24 -06:00
domain.constant.ts feat(format): bmp format (#5197) 2023-11-20 13:47:24 -06:00
domain.module.ts feat(web,server): activity (#4682) 2023-10-31 22:13:34 -05:00
domain.util.ts feat(server): asset search endpoint (#4931) 2023-11-14 22:47:15 +00:00
index.ts feat(web,server): activity (#4682) 2023-10-31 22:13:34 -05:00