Release v0.1.6

This commit is contained in:
2026-07-07 16:00:38 +02:00
parent a2053518d1
commit 150b720f12
149 changed files with 14311 additions and 8005 deletions

View File

@@ -6,6 +6,7 @@ import {
routeContributionsForModules,
uiCapability
} from "../src/platform/moduleLogic";
import { scopeGrants } from "../src/utils/permissions";
function assert(condition: unknown, message: string): void {
if (!condition) throw new Error(message);
@@ -63,3 +64,6 @@ assert(uiCapability("mail.profiles", [access, mail]) === mailCapability, "mail c
const routes = routeContributionsForModules([access, files, mail, campaigns]).map((route) => route.path);
assert(routes.join(",") === "/campaigns,/files,/mail", "routes should aggregate and sort by contribution order");
assert(scopeGrants("tenant:*", "calendar:event:read"), "tenant wildcard should grant tenant-level module scopes");
assert(!scopeGrants("tenant:*", "system:settings:read"), "tenant wildcard should not grant system scopes");