feat(F-146): completed feature
This commit is contained in:
@@ -224,10 +224,11 @@ export async function buildApp(deps: BuildAppDeps = {}): Promise<FastifyInstance
|
||||
});
|
||||
|
||||
// Reporting contracts + RBAC foundation (F-143). Reporting is backoffice-only
|
||||
// sharing the combined authenticator; it has no DB reads until F-144+.
|
||||
// sharing the combined authenticator; F-146 adds ReportingService reads.
|
||||
await app.register(async (instance) => {
|
||||
await registerReportingRoutes(instance, {
|
||||
authenticate: combinedAuth,
|
||||
pool: deps.pool as pg.Pool,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user