feat(profile): persist candidate edits and enforce company access
This commit is contained in:
1 parent
3ab6bd91a3
commit
73c7caa225
67 files changed
+5286
-229
No files matched your search
@@ -299,7 +299,7 @@ func newOrganizationHTTPHarness(ctx context.Context, t *testing.T, env *testEnvi
|
||||
v1.WithIdentity(identityHandler), v1.WithOrganization(organizationHandler),
|
||||
)
|
||||
router, err := httpadapter.NewRouter(healthHandler, handler, identityHandler.SessionSecurity(), responder,
|
||||
prometheus.New(), logger, nil)
|
||||
prometheus.New(), logger, nil, httpadapter.NewCompanyContextMiddleware(organizationHandler))
|
||||
if err != nil {
|
||||
t.Fatalf("NewRouter() error = %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user