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:
co-authored by
Daniel Dietzler
parent
935855a510
commit
ceea058662
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user