Skip to content

Commit 64b278e

Browse files
fix(rest)!: every data door judges environment membership (#36134)
Clause-②: no (narrowing) Metadata-protocol: none Skills-docs: none — no skill or hand-written doc teaches the membership rule as one door's; the wire envelope `content/docs/api/wire-format.mdx` documents for `PROJECT_MEMBERSHIP_REQUIRED` is the one both doors now answer ## 维护者速读 - 用户能看到什么变化:多环境部署上,不属于某环境的已登录用户,经 REST 数据接口读写该环境时,与运行时分发器一样被拒绝(403);环境成员不受影响。 - 为什么做:同一台主机的两扇门对同一个调用者必须给出同一个判断,这次把这条规则收成一处,两扇门共用。 - 出错会怎样:若某环境的成员被误拒,把 `enforceProjectMembership` 设为 false 即可在所有接口上同时关闭这项检查;改动可直接撤回。 - 要你做什么:无。 ## What changes - **One judgment, in `@objectstack/core`.** `judgeEnvironmentMembership` (`packages/core/src/security/environment-membership.ts`) is the environment-membership rule the runtime dispatcher applied: its exemptions, its fail-closed read of `sys_environment_member` on every request, the case where the judgment does not apply (no such object registered), and its refusal (`403`, `PROJECT_MEMBERSHIP_REQUIRED`). `resolveEnvironmentMembershipEnforcement` is the one reading of the host's switch. - **The dispatcher asks it.** `HttpDispatcher` keeps choosing the request's engine and writing its own envelope, and delegates the verdict; its answers are unchanged (the full runtime suite is green, its membership pins included). `createDispatcherPlugin` reads its switch through the shared function. - **The REST server asks it too.** Every data and metadata door judges environment membership: where `RestServer` resolves the caller's context, it asks the same judgment on the environment's own engine, and the door behind `enforceAuth` answers the judgment's status, code and the dispatcher's envelope. Two answers keep their place ahead of it, as on the dispatcher: a credential anchored in another environment keeps the anonymous-deny answer, and a session the ADR-0069 gate holds keeps the gate's code. - **The same switch.** `createRestApiPlugin` takes `enforceProjectMembership` (the stack's `api.enforceProjectMembership`), read through the shared function, and `objectstack serve` hands the stack's value to both the REST and the dispatcher plugin. Off in exactly the dispatcher's cases: the switch `false`, or no `sys_environment_member` registered. The key's doc in `packages/spec/src/stack.zod.ts` names every door it governs. - `packages/spec`: one `PROVENANCE_WAIVERS` row — the code is now spelled by core's shared verdict and served by the runtime and REST doors (the `metadata-core` shared-verdict precedent). No authorable key, schema or code vocabulary change. ## Tests - `packages/rest/src/rest-environment-membership-door.test.ts` (new, 33 cases), through the unstubbed identity resolution, on the scoped and the header-named unscoped mount, read and write: - a signed-in non-member is refused `403 PROJECT_MEMBERSHIP_REQUIRED`, envelope pinned, the protocol never reached, the read keyed on caller and environment; - the member is served (control); - switch off, and an engine with no `sys_environment_member`: the non-member is served as before, no membership read made; - a membership read that cannot answer is the loud `503 SERVICE_UNAVAILABLE`, never served; - a metadata door (`GET /meta/:type`) answers the non-member the same refusal, the member served; - precedence: a credential anchored in another environment keeps the anonymous-deny answer, and a session the ADR-0069 gate holds keeps the gate's code — neither reads membership; - the switch's reading table. - `packages/rest/src/rest-api-plugin-slot-lookups.test.ts`: the composition root hands `RestServer` the switch, five configurations; the new last constructor argument is classified in the span ledger. - `packages/rest/src/rest-environment-scoped-providers.test.ts`: its hosts answer every lookup empty and model no membership, so they now state the documented opt-out (`enforceProjectMembership: false`); without it the new rule refuses their callers, which is the rule working. ## Acceptance notes - **Measured first, red on base.** With the base `rest-server.ts` and `rest-api-plugin.ts` restored over the new test: 10 of 33 red (the non-member and outage cases on the data and metadata doors); the 23 controls and preservation pins green. - The contract-tier review is the security seat's (posted on this PR); this head closes its should-fix items. ## Verification Two-minute check: `pnpm --filter @objectstack/rest exec vitest run src/rest-environment-membership-door.test.ts` — expect 33 passed. Read first, by risk: `packages/rest/src/rest-server.ts` (the judgment block in `computeExecCtx` and the answer in `enforceAuth`), `packages/core/src/security/environment-membership.ts`, `packages/runtime/src/http-dispatcher.ts` (`judgeMembershipOf`). <details><summary>Red on base, green after</summary> - base REST source restored over the new test: `Tests 10 failed | 23 passed (33)`. - after: `Tests 33 passed (33)`. </details> <details><summary>Guard ablations (each mutation landed on disk, red, restored to the HEAD blob)</summary> - the judgment never asked (REST): 8 red — every non-member and outage case. - the switch term dropped (REST): 4 red — the switch-off cases. - `enforceAuth`'s membership answer removed: 4 red — the non-member cases. - the not-registered skip removed (core, through a rebuilt `dist/`, marker present then absent): 4 red — the no-`sys_environment_member` cases. - the plugin's switch pass-through dropped: 1 red — the explicit opt-out read as on. - the anchor-equality term dropped (REST): 4 red — the anchored-elsewhere precedence pins. - the gate term dropped (REST): 4 red — the gate-held precedence pins. </details> <details><summary>Suites and gates</summary> - `@objectstack/runtime` test (before the main merge): `Test Files 636 passed (636)`, `Tests 11720 passed | 25 skipped`. - `@objectstack/core` test: `Test Files 155 passed (155)`, `Tests 3681 passed`. - `@objectstack/rest` test, typecheck of core, rest and runtime, the derived gate families and the dogfood battery: readings in the report comment on this PR. </details> ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes (CI). - [x] 4. One order, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are up to date (`check:generated`: all 14). - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. --- _Generated by [Claude Code](https://claude.ai/code/session_017xRBcVJ1z8FokbzdTLcjnk)_ <!-- signed: security#2 · sunhaolin · session_017xRBcVJ1z8FokbzdTLcjnk --> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: objectstack-fleet[bot] <332303061+objectstack-fleet[bot]@users.noreply.github.com>
1 parent 8e415bd commit 64b278e

13 files changed

Lines changed: 747 additions & 100 deletions

‎.changeset/sec2-r7gg.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@objectstack/core': patch
3+
'@objectstack/rest': patch
4+
'@objectstack/runtime': patch
5+
'@objectstack/cli': patch
6+
'@objectstack/spec': patch
7+
---
8+
9+
fix(rest)!: every data door judges environment membership
10+
11+
Clause-②: no (narrowing)
12+
Metadata-protocol: none
13+
14+
<!-- adr-0087: not-required (no-migration-prescription) every data door judges environment membership; nothing an author writes is retired, renamed or re-shaped, so there is nothing for a migration to rewrite -->
15+
16+
**BREAKING** for a signed-in caller who is not a member of the environment a request resolved to: every data door now judges environment membership and answers that caller `403 PROJECT_MEMBERSHIP_REQUIRED`, in the envelope the runtime dispatcher already answers with.
17+
18+
Every data door judges environment membership. The rule is one function in `@objectstack/core` (`judgeEnvironmentMembership`), asked by the runtime dispatcher and the REST server alike; the dispatcher's own answers are unchanged.
19+
20+
It is off in exactly two cases: `api.enforceProjectMembership: false` (ADR-0135 D9: a host whose environment-native auth is the membership), or no `sys_environment_member` object registered. The switch is read through one function for every door (`resolveEnvironmentMembershipEnforcement`): an explicit `enforceProjectMembership` wins, else it is on exactly when environment scoping is on. `objectstack serve` hands the stack's `api.enforceProjectMembership` to the REST and the dispatcher plugin alike.
21+
22+
Migration: a host that composes the plugins itself passes the same `enforceProjectMembership` to `createRestApiPlugin` as to `createDispatcherPlugin`.

‎packages/cli/src/commands/serve.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5209,7 +5209,12 @@ export default class Serve extends Command {
52095209
try {
52105210
const { createRestApiPlugin } = await import('@objectstack/rest');
52115211
await kernel.use(
5212-
createRestApiPlugin({ api: { api: { enableProjectScoping, projectResolution } } as any }),
5212+
createRestApiPlugin({
5213+
api: { api: { enableProjectScoping, projectResolution } } as any,
5214+
// The same switch the dispatcher plugin is handed below, so the two
5215+
// doors of this host judge environment membership alike.
5216+
enforceProjectMembership: apiConfig.enforceProjectMembership,
5217+
}),
52135218
);
52145219
trackPlugin('RestAPI');
52155220
} catch (e: any) {
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
3+
/**
4+
* The environment-membership judgment — ONE function, asked by every door that
5+
* serves a request a multi-environment host resolved into an environment: the
6+
* runtime dispatcher (`HttpDispatcher`) and the REST server
7+
* (`@objectstack/rest`). A door supplies the principal it resolved and the
8+
* engine of the request's kernel; the verdict, the exemptions, the
9+
* applicability and the refusal are decided here and nowhere else.
10+
*
11+
* ⛔ Never re-spell any part of it at a door. A second copy is how two doors on
12+
* the same host come to answer the same caller differently.
13+
*
14+
* ## The verdict, in order
15+
*
16+
* 1. No environment, or the well-known system environment ⇒ the judgment
17+
* does not apply (`null`). The system environment is reachable by any
18+
* signed-in caller. Which ids a door counts as an environment at all is
19+
* the door's own vocabulary (REST's `'platform'` names its control plane,
20+
* not an environment) and is decided before it asks.
21+
* 2. A caller acting in the platform organization ⇒ admitted (`null`).
22+
* 3. NO ENGINE ⇒ {@link AuthzStoreUnavailableError}. The read cannot be made;
23+
* an absent engine where a host resolved an environment and an auth
24+
* service signed the caller in is a fault, not a composition.
25+
* 4. `sys_environment_member` NOT REGISTERED on that engine ⇒ the judgment
26+
* does not apply (`null`). A composition that holds no environment
27+
* membership has none to judge. The question is the registry's own
28+
* `getObject`, never a caught throw; an engine whose registry cannot be
29+
* asked is asked, and a fault refuses.
30+
* 5. The membership read, as the platform (the caller's id is the `where`,
31+
* not the reader), on EVERY request — an admission is never reused, so a
32+
* removal takes effect on the caller's next request, on every replica, and
33+
* a store that cannot answer refuses that request whoever was admitted a
34+
* moment ago. ⛔ A future cache here must first meet the
35+
* authorization-cache rule in `resolve-authz-context.ts` (cache a success
36+
* only behind seams that observe the writes it depends on, TTL as the
37+
* residual bound) — and the writes that change this answer land in the
38+
* control plane, which the request's engine need not observe. A read that
39+
* throws ⇒ {@link AuthzStoreUnavailableError}: fail closed, loud and
40+
* retriable, never "allowed" and never the membership refusal.
41+
* 6. A row ⇒ admitted (`null`); none ⇒ the refusal: `403`,
42+
* `PROJECT_MEMBERSHIP_REQUIRED`, with the environment and the user as
43+
* context.
44+
*
45+
* Whether a door asks at all is the host's switch
46+
* ({@link resolveEnvironmentMembershipEnforcement}) — the same switch for every
47+
* door, so a door refuses only callers its sibling doors refuse.
48+
*/
49+
50+
import { AuthzStoreUnavailableError } from './authz-store-unavailable.js';
51+
52+
/** The control-plane object that records who is a member of which environment. */
53+
export const ENVIRONMENT_MEMBER_OBJECT = 'sys_environment_member';
54+
55+
/** The well-known system environment — reachable by any signed-in caller. */
56+
const SYSTEM_ENVIRONMENT_ID = '00000000-0000-0000-0000-000000000001';
57+
58+
/** The well-known platform organization — its members pass every environment. */
59+
const PLATFORM_ORGANIZATION_ID = '00000000-0000-0000-0000-000000000000';
60+
61+
/** The ADR-0112 code of the refusal. */
62+
export const ENVIRONMENT_MEMBERSHIP_REQUIRED_CODE = 'PROJECT_MEMBERSHIP_REQUIRED';
63+
64+
/** The HTTP status of the refusal. */
65+
export const ENVIRONMENT_MEMBERSHIP_REQUIRED_STATUS = 403;
66+
67+
/** The refusal a door writes in its own envelope. */
68+
export interface EnvironmentMembershipRefusal {
69+
readonly status: typeof ENVIRONMENT_MEMBERSHIP_REQUIRED_STATUS;
70+
readonly code: typeof ENVIRONMENT_MEMBERSHIP_REQUIRED_CODE;
71+
readonly message: string;
72+
readonly environmentId: string;
73+
readonly userId: string;
74+
}
75+
76+
/** The slice of an ObjectQL engine the membership read needs. */
77+
export interface EnvironmentMembershipEngine {
78+
registry?: { getObject?: (name: string) => unknown };
79+
find(object: string, query: unknown): Promise<unknown>;
80+
}
81+
82+
export interface EnvironmentMembershipInput {
83+
/** The environment the host resolved this request into. */
84+
environmentId: string | undefined;
85+
/** The principal the door resolved. */
86+
userId: string;
87+
/** The organization the door's resolution vetted for that principal. */
88+
activeOrganizationId: string | undefined;
89+
/** The engine of the request's own kernel; `undefined` when none resolved. */
90+
engine: EnvironmentMembershipEngine | null | undefined;
91+
}
92+
93+
/**
94+
* The host's switch: explicit `enforceProjectMembership` wins, else on exactly
95+
* when environment scoping is on. Every door reads it from this one function,
96+
* so `api.enforceProjectMembership: false` turns the judgment off at every
97+
* door at once (ADR-0135 D9: a host whose environment-native auth IS the
98+
* membership opts out).
99+
*/
100+
export function resolveEnvironmentMembershipEnforcement(input: {
101+
enforceProjectMembership?: boolean;
102+
enableProjectScoping?: boolean;
103+
}): boolean {
104+
return input.enforceProjectMembership ?? (input.enableProjectScoping ?? false);
105+
}
106+
107+
/**
108+
* Whether `environmentId` is one the judgment applies to at all — cheap and
109+
* read-free, so a door can skip resolving a principal it would not judge.
110+
*/
111+
export function isMembershipJudgedEnvironment(environmentId: string | undefined): environmentId is string {
112+
return !!environmentId && environmentId !== SYSTEM_ENVIRONMENT_ID;
113+
}
114+
115+
/**
116+
* The verdict on one principal for one environment — `null` when admitted or
117+
* when the judgment does not apply, the refusal otherwise; throws
118+
* {@link AuthzStoreUnavailableError} when an input it needs cannot be read.
119+
*/
120+
export async function judgeEnvironmentMembership(
121+
input: EnvironmentMembershipInput,
122+
): Promise<EnvironmentMembershipRefusal | null> {
123+
const { environmentId, userId, activeOrganizationId, engine } = input;
124+
if (!isMembershipJudgedEnvironment(environmentId)) return null;
125+
126+
if (activeOrganizationId === PLATFORM_ORGANIZATION_ID) return null;
127+
128+
if (!engine) {
129+
throw new AuthzStoreUnavailableError(
130+
ENVIRONMENT_MEMBER_OBJECT,
131+
new Error('no ObjectQL engine resolved on this request\'s kernel'),
132+
);
133+
}
134+
if (typeof engine.registry?.getObject === 'function' && !engine.registry.getObject(ENVIRONMENT_MEMBER_OBJECT)) {
135+
return null;
136+
}
137+
138+
let rows: unknown;
139+
try {
140+
rows = await engine.find(ENVIRONMENT_MEMBER_OBJECT, {
141+
where: { environment_id: environmentId, user_id: userId },
142+
limit: 1,
143+
context: { isSystem: true },
144+
});
145+
} catch (err) {
146+
throw new AuthzStoreUnavailableError(ENVIRONMENT_MEMBER_OBJECT, err);
147+
}
148+
if (rows && (rows as { value?: unknown }).value) rows = (rows as { value?: unknown }).value;
149+
if (Array.isArray(rows) && rows.length > 0) return null;
150+
151+
return {
152+
status: ENVIRONMENT_MEMBERSHIP_REQUIRED_STATUS,
153+
code: ENVIRONMENT_MEMBERSHIP_REQUIRED_CODE,
154+
message: `Forbidden: user ${userId} is not a member of project ${environmentId}`,
155+
environmentId,
156+
userId,
157+
};
158+
}

‎packages/core/src/security/index.ts‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,23 @@ export {
269269
AUTHZ_STORE_UNAVAILABLE_MESSAGE,
270270
} from './authz-store-unavailable.js';
271271

272+
// The ONE environment-membership judgment every door of a multi-environment
273+
// host asks (the runtime dispatcher and the REST server), and the one switch
274+
// that turns it on.
275+
export {
276+
judgeEnvironmentMembership,
277+
resolveEnvironmentMembershipEnforcement,
278+
isMembershipJudgedEnvironment,
279+
ENVIRONMENT_MEMBER_OBJECT,
280+
ENVIRONMENT_MEMBERSHIP_REQUIRED_CODE,
281+
ENVIRONMENT_MEMBERSHIP_REQUIRED_STATUS,
282+
} from './environment-membership.js';
283+
export type {
284+
EnvironmentMembershipRefusal,
285+
EnvironmentMembershipEngine,
286+
EnvironmentMembershipInput,
287+
} from './environment-membership.js';
288+
272289
export {
273290
resolveAuthzContext,
274291
resolveUserAuthzGrants,

‎packages/rest/src/rest-api-plugin-slot-lookups.test.ts‎

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@ const NON_PROVIDERS_IN_SPAN = [
209209
label: 'kernelServiceProvider',
210210
why: '`(name, environmentId?) => Promise<unknown>` — a BY-NAME lookup for the service an object declares as its `schemaReadDelegate` (decision 6840464379), so it names no slot of its own; pinned by its own case below',
211211
},
212+
{
213+
index: 23,
214+
label: 'environmentMembership',
215+
why: '`{ enforced: boolean }` — the host\'s environment-membership switch, a value resolved at boot, not a slot provider; pinned in `rest-environment-membership-door.test.ts`',
216+
},
212217
] as const;
213218

214219
/**
@@ -283,10 +288,10 @@ function mockCtx(services: Record<string, unknown>) {
283288
};
284289
}
285290

286-
async function boot(services: Record<string, unknown>) {
291+
async function boot(services: Record<string, unknown>, config?: Parameters<typeof createRestApiPlugin>[0]) {
287292
captured.ctorArgs.length = 0;
288293
const { ctx, asked } = mockCtx(services);
289-
const plugin = createRestApiPlugin();
294+
const plugin = createRestApiPlugin(config);
290295
await plugin.init?.(ctx as never);
291296
await plugin.start?.(ctx as never);
292297
expect(captured.ctorArgs).toHaveLength(1);
@@ -359,6 +364,22 @@ describe('[#4251 B4] rest-api-plugin slot lookups', () => {
359364
expect(typeof args[11], 'the neighbour is still the approvals provider').toBe('function');
360365
});
361366

367+
it('passes the host environment-membership switch the dispatcher plugin reads, through the one shared function', async () => {
368+
const scoped = { api: { api: { enableProjectScoping: true, projectResolution: 'auto' } } } as any;
369+
const unscoped = { api: { api: { enableProjectScoping: false } } } as any;
370+
const cases: Array<[string, Parameters<typeof createRestApiPlugin>[0], boolean]> = [
371+
['no config: off', undefined, false],
372+
['scoping on, no explicit switch: on', scoped, true],
373+
['scoping on, api.enforceProjectMembership false: off', { ...scoped, enforceProjectMembership: false }, false],
374+
['scoping off, no explicit switch: off', unscoped, false],
375+
['scoping off, api.enforceProjectMembership true: on', { ...unscoped, enforceProjectMembership: true }, true],
376+
];
377+
for (const [label, config, enforced] of cases) {
378+
const { args } = await boot(allServices(), config);
379+
expect(args[23], label).toEqual({ enforced });
380+
}
381+
});
382+
362383
it('passes the env-registry and default-environment seams as RestServer declares them', async () => {
363384
const services = allServices();
364385
const { args } = await boot(services);

‎packages/rest/src/rest-api-plugin.ts‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
22

3-
import { Plugin, PluginContext, IHttpServer, isServiceNotRegisteredError } from '@objectstack/core';
3+
import { Plugin, PluginContext, IHttpServer, isServiceNotRegisteredError, resolveEnvironmentMembershipEnforcement } from '@objectstack/core';
44
import { RestServer, RestKernelManager, RestProtocol, RestRequestEnvResolver, RestEnvRegistry } from './rest-server.js';
55
import { RestServerConfig } from '@objectstack/spec/api';
66
import { mountAndRecordDirectRoutes } from './direct-mount-composition.js';
@@ -101,6 +101,14 @@ export interface RestApiPluginConfig {
101101
*/
102102
kernelManagerServiceName?: string;
103103
api?: RestServerConfig;
104+
/**
105+
* The stack's `api.enforceProjectMembership` — the host's
106+
* environment-membership switch (ADR-0135 D9: `false` opts a host whose
107+
* environment-native auth IS the membership out). Pass the value the
108+
* runtime dispatcher's plugin is given, so both doors of the host judge
109+
* alike. Undefined ⇒ on exactly when `api.api.enableProjectScoping` is.
110+
*/
111+
enforceProjectMembership?: boolean;
104112
}
105113

106114
/**
@@ -598,7 +606,16 @@ export function createRestApiPlugin(config: RestApiPluginConfig = {}): Plugin {
598606
// `RouteManager` in the first place.
599607
let restServer: RestServer | undefined;
600608
try {
601-
restServer = new RestServer(server, protocol, config.api as any, kernelManager, envRegistry, defaultEnvironmentIdProvider, authServiceProvider, objectQLProvider, emailServiceProvider, sharingServiceProvider, /* retired saved-report slot (#20102) */ undefined, approvalsServiceProvider, sharingRulesServiceProvider, i18nServiceProvider, analyticsServiceProvider, settingsServiceProvider, serviceExistsProvider, securityServiceProvider, requestEnvResolver, metadataServiceProvider, tenancyServiceProvider, auditServiceProvider, kernelServiceProvider);
609+
restServer = new RestServer(server, protocol, config.api as any, kernelManager, envRegistry, defaultEnvironmentIdProvider, authServiceProvider, objectQLProvider, emailServiceProvider, sharingServiceProvider, /* retired saved-report slot (#20102) */ undefined, approvalsServiceProvider, sharingRulesServiceProvider, i18nServiceProvider, analyticsServiceProvider, settingsServiceProvider, serviceExistsProvider, securityServiceProvider, requestEnvResolver, metadataServiceProvider, tenancyServiceProvider, auditServiceProvider, kernelServiceProvider, {
610+
// The host's environment-membership switch, read through the
611+
// ONE function the runtime dispatcher's plugin reads it
612+
// through: explicit `enforceProjectMembership` wins, else on
613+
// exactly when environment scoping is on.
614+
enforced: resolveEnvironmentMembershipEnforcement({
615+
enforceProjectMembership: config.enforceProjectMembership,
616+
enableProjectScoping: config.api?.api?.enableProjectScoping,
617+
}),
618+
});
602619
restServer.registerRoutes();
603620

604621
ctx.logger.info('REST API successfully registered');

0 commit comments

Comments
 (0)