feat: add canonical identity administration

This commit is contained in:
2026-08-20 12:27:36 +02:00
parent 43f0128e6a
commit 34357fe0ec
13 changed files with 1813 additions and 28 deletions
@@ -0,0 +1,20 @@
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
const moduleSource = readFileSync("src/module.ts", "utf8");
const page = readFileSync("src/features/IdentityAdminPage.tsx", "utf8");
const api = readFileSync("src/api/identities.ts", "utf8");
assert.match(moduleSource, /"admin.sections": adminSections/);
assert.match(moduleSource, /identity\.admin\.directory/);
assert.match(page, /<AdminPageLayout/);
assert.match(page, /<PageActionBar/);
assert.match(page, /refreshable/);
assert.match(page, /saveAction=/);
assert.match(page, /useUnsavedDraftGuard/);
assert.match(page, /management_scope/);
assert.match(page, /Promote/);
assert.match(api, /account-links/);
assert.match(api, /include_inactive/);
console.log("Identity administration UI structural contract passed.");