Plans
Plans are in the Reglab Platform › Plans menu. A plan belongs to a service and opens a selection of its features; a user receives plans in a tenant, at most one per service (see Key concepts).
Like the whole console, this page is reserved for platform administrators (role ROLE_ADMIN).
The list of plans
The Plans page opens on the list of plans: “A plan belongs to a service and opens a selection of its features.”
For each plan, the list shows:
- the Plan name, which opens its page;
- its Service name, which opens the service’s page;
- its Features: “n feature(s)”.
The Plan name and Service name headers sort the list. The Global search… box searches the plan’s name and its service’s name.
The ⋮ menu of a plan offers View, Edit and Delete. Lists, selection and bulk delete work as everywhere in the console (see Lists and forms).
Creating a plan
Click New. The Create a new Plan form opens: “This form is dedicated to the creation of a Plan.”
Fill in:
- the Plan name: required. It is unique across the whole platform, all services together;
- the Service name (“Select a service”): required;
- the Features (“Select the features it opens”): at least one. The list stays greyed out until a service is chosen, then offers only that service’s features. Choosing another service keeps only the ticked features that belong to the new service.
Click Save. The message “You successfully created a Plan” shows and the previous page comes back.
The server checks the plan:
- the service’s
basefeature is added to the plan if it was not ticked: a plan always carries it; - a name already taken is refused: “A plan with this name, or with the same features, already exists.”;
- a plan that would open exactly the same features as another plan of the same service is refused: “Another plan of this service already opens the same features.”;
- a plan opens only features of its own service.
A plan’s page
A plan’s page has its name as title. The All plans link leads back to the list; the Delete and Edit buttons are at the top right.
The page shows three cards:
- Definition: the Plan name and its Service name, linked to the service’s page;
- Features: the number of features, then each one with its name (linked to its page) and its description, in alphabetical order. Beyond five features, the Filter the features box filters the list on the name. A plan without features shows “This plan opens no feature yet.”;
- Used by: the tenants whose users hold the plan, each linked to its page with “n user(s)”, or “No tenant uses this plan.”
Editing a plan
Use Edit in the ⋮ menu of the list, or the Edit button on the plan’s page. The Edit a Plan form (“This form is dedicated to the edition of a Plan.”) offers the same fields and the same checks as at creation. Save shows “You successfully updated a Plan” and leads back to the previous page.
When a plan’s features change, every user who holds it receives an e-mail with the features they gain or lose.
The applications see the change after a delay. Changing a plan that is already held (its features, its service or its name) does not tell the applications: they keep applying what they remember until it expires, up to 5 minutes for CIRCÉ and one hour by default for the assistant when assistant is taken off. See What subscription does not announce.
Deleting a plan
Use Delete in the ⋮ menu or on the plan’s page, or tick plans and click Delete in the toolbar. A confirmation is asked:
- for one plan: “Delete the plan name? The server refuses while users hold it.”;
- for a selection: “Delete these n plans? The server refuses the ones users still hold.”
A plan held by at least one user, in any tenant, cannot be deleted: “This plan cannot be deleted: users still hold it.” The Used by card of its page shows the tenants concerned; take the plan away from the users first (see Client and Tenants).