Skip to content

Commit e89aaca

Browse files
committed
Site Map for method-routings
1 parent d6853ac commit e89aaca

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/lib/utils/roleChecker.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@ export const SITE_MAP: Record<string, PageRoleConfig> = {
212212
required: [{ role: "CanLockUser" }],
213213
},
214214

215+
// ── Integration ─────────────────────────────────────
216+
"/integration/method-routings": {
217+
required: [{ role: "CanGetMethodRoutings" }],
218+
optional: [
219+
{ role: "CanCreateMethodRouting" },
220+
{ role: "CanUpdateMethodRouting" },
221+
],
222+
},
223+
215224
// ── Dynamic Entities ──────────────────────────────────
216225
"/dynamic-entities/diagnostics": {
217226
required: [{ role: "CanGetSystemLevelDynamicEntities" }],

src/routes/(protected)/user/site-map/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
{ key: "account-access", label: "Account Access", prefix: "/account-access/" },
2121
{ key: "users", label: "Users", prefix: "/users" },
2222
{ key: "dynamic-entities", label: "Dynamic Entities", prefix: "/dynamic-entities/" },
23+
{ key: "integration", label: "Integration", prefix: "/integration/" },
2324
];
2425
2526
function getSection(route: string): string {

0 commit comments

Comments
 (0)