lingex-entitlements
LingEx Entitlements
Source details
- Source revision
e56a98775fdf8fd43a0d00d4c78c235b4a5574f4- Source SHA-256
613657a618f0509c5117a38485617407381f70a3848aa681fb3dc7fbbf73bedc
LingEx Entitlements
LingEx Entitlements is the LingEx system of record for durable commercial ownership and subscription facts.
It owns entitlement grants, revocations and immutable event provenance attached to canonical authenticated LingEx account identity.
It does not process card payments, define current Catalog prices, own roles/groups, or evaluate the site's general access policy.
Purchase grants
Checkout grants an entitlement only after trusted payment completion.
Each purchase grant carries a stable grant key so retries converge on the same commercial ownership fact.
Revocation changes current entitlement state without erasing the original grant/event history.
Product use
Product services ask Entitlements whether the canonical account currently has the relevant active product entitlement rather than maintaining independent purchase tables.
Access-policy composition
LingEx Access Control may consume the narrow active-entitlement predicate as one input into larger access policies.
Access Control does not take ownership of commercial grant/revocation history, and Entitlements does not take ownership of roles, groups, permissions or general route/content policy.
Public API role
Entitlements owns entitlement-domain handlers and route contracts for the authenticated user's entitlement view.
Public API exposure is through the canonical LingEx API boundary; api.lingex.co.uk is the ingress hostname rather than a separate Entitlements repository identity.
Runtime
Entitlements is a shared web service.
Runtime composition receives one external LINGEX_INSTALLATION_DESCRIPTOR pointer. Entitlements loads only the explicitly registered Core entrypoint, then uses Core's repository API for source or sealed-release authority. It does not infer a Core path, scan repositories, use a Core-root environment fallback or reread the descriptor after Core starts. Missing or invalid authority fails closed.
Migrations are explicit. Runtime configuration is private and no credentials belong in the repository.