mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:31:48 +00:00
Set server.PermsSyncer on enterprise repo-updater (#46494)
This commit is contained in:
parent
ee4d98abe3
commit
0ca10ac62c
@ -73,6 +73,10 @@ func EnterpriseInit(
|
||||
return nil
|
||||
}
|
||||
|
||||
if server != nil {
|
||||
server.PermsSyncer = permsSyncer
|
||||
}
|
||||
|
||||
workerStore := authz.MakeStore(observationCtx, db.Handle())
|
||||
worker := authz.MakeWorker(ctx, observationCtx, workerStore, permsSyncer)
|
||||
resetter := authz.MakeResetter(observationCtx, workerStore)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user