fix: person management ids validation and permissions (#31902)

fix: person management ids validation and permissions (#31898)

(cherry picked from commit 4408f49d15d5b38eb2fbfa40b68cf697a0e16ca8)

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
immich-push-o-matic[bot]
2026-09-29 16:22:56 +00:00
committed by GitHub
co-authored by Daniel Dietzler
parent 935855a510
commit ceea058662
13 changed files with 80 additions and 21 deletions
+4 -1
View File
@@ -140,7 +140,10 @@ export const controllerSetup = async (controller: ControllerClass | ControllerCl
.overrideInterceptor(AssetUploadInterceptor)
.useValue(noopInterceptor)
.compile();
const app = moduleRef.createNestApplication();
const app = moduleRef.createNestApplication({
routeConflictPolicy: { duplicate: 'error' },
routeResolutionStrategy: 'specificity',
});
await app.init();
// allow the AuthController to override the AuthService itself