Why this matters
A module being deployed is not the same as a module being sold. The same laboratory module is worth offering to a small clinic that has no laboratory software at all, and worth withholding from a hospital where appearing as a direct competitor to its incumbent supplier would cost the ability to cooperate and deliver other modules through that supplier's systems. That decision is commercial, it differs per customer, and it changes over time — so it belongs in configuration Jengu controls, not in a release flag or a build of the software.
Equally, an insurer and a care provider should not be shown each other's modules, and a customer on a basic plan should not be offered what a premium plan includes. These are different kinds of question, and conflating them produces either leaks or a tangle of special cases.
Four rules, applied in order
The answer to "may this organisation use this module?" is one ordered calculation, consulted identically by the administration screens, the API, and the configuration sync — so the three can never disagree.
- Relevance. A module declares the kinds of organisation it serves. An insurer's claims module does not appear for a care provider, and vice versa. Relevance only ever hides: it cannot admit a module on its own. That is what makes it safe for an organisation to describe itself.
- Availability. A module is either offered openly, or offered only where Jengu has granted it. This is a commercial visibility decision, not a statement about whether the module is finished. A module that does not declare is treated as withheld — forgetting to declare hides a module rather than exposing one.
- Profiles. Named, composable sets — a plan, a pilot, a bundle — assigned to an organisation in order. A profile can both add and withhold: a pilot admits a module that is otherwise not offered, a basic tier withholds one that otherwise is. Later profiles override earlier ones, so ordering is meaningful and a customer can hold several. This is where commercial packaging, and in time billing, connects to what the software actually does.
- The organisation's own entry. An explicit grant or denial for a single organisation, which outranks everything above it — the escape hatch for a customer who does not fit a plan.
Where the decision lives, and why
Rules 2 to 4 resolve from Jengu's configuration registry. Rule 1 is the only input an organisation influences, and it can only narrow what it sees.
This split matters because an organisation may keep its own configuration in a repository it controls. It can describe its departments, its people and its devices there freely. It cannot grant itself a module, assign itself a plan, or raise its own functionality level, because none of those are read from that repository. The configuration sync enforces the same rule when it re-reads that configuration: a binding the organisation is not entitled to is refused, and one whose grant has been withdrawn is removed.
A module an organisation is not entitled to is absent rather than forbidden. It is not listed, and an attempt to use it answers that it is unknown — because a refusal naming the module would disclose the commercial decision to precisely the organisation it concerns.
Functionality levels
Within a single module, different customers may get different depth — a basic and a professional behaviour of the same module. The platform carries that level as an opaque value per organisation and module and hands it to the module; the module decides what it means. The platform never interprets it, so a module can introduce a new level without a platform change, and commercial packaging stays out of module code.
What this is not
- Not a release mechanism. Withheld does not mean unfinished, and this must never be wired to build flags or deployment toggles.
- Not access control for people. Roles decide what a user may do inside a module; entitlement decides whether the organisation has the module at all.
- Not per-department. Entitlement is decided for the organisation; which of its departments run a module is a separate, local choice.