Services
Services are in the Reglab Platform › Services menu. A service is a RegLab product: it carries its features, which plans open to users (see Key concepts).
Like the whole console, this page is reserved for platform administrators (role ROLE_ADMIN).
The list of services
The Services page opens on the list of services: “The RegLab products. Each one carries its features, which plans open to users.”
For each service, the list shows:
- the Service name, which opens its page;
- its Description;
- its Plans: a “n plan(s)” tag, which opens the Plans list, or “No plan”.
The Service name and Description headers sort the list. The Global search… box searches the name and the description.
The ⋮ menu of a service offers View, Edit and Delete. Lists, selection and bulk delete work as everywhere in the console (see Lists and forms).
Creating a service
Click New. The Create a new Service form opens: “This form is dedicated to the creation of a Service.”
Fill in:
- the Service name: required, and unique. A name already taken is refused: “A service with this name already exists.”;
- the Description: optional, rich text.
Click Save. The message “You successfully created a Service” shows and the list of services comes back.
When it is created, the service automatically receives its base feature (description “Access to the service”): it is what makes a user a member of the service, and every plan of the service carries it (see The base feature).
The service’s name is the one the applications ask for. To know what a user holds, an application asks subscription for their plan of a service named by its name (compared ignoring case): CIRCÉ asks for irrc, the assistant asks for irrc, stress and library. Renaming a service therefore closes it to the users of the applications that ask for it under its former name. See From plans to rights.
Editing a service
Use Edit in the ⋮ menu of the list, or the Edit button on the service’s page. The Edit a service form offers the same fields. Save shows “You successfully updated a Service” and leads back to the list.
A service’s page
A service’s page has its name as title and shows:
- the Service name and its Description;
- its Features, in alphabetical order, each linked to its page, or “No feature”;
- its Plans, in alphabetical order, each linked to its page, or “No plan”.
The Back and Edit buttons are at the top right.
Deleting a service
Use Delete in the ⋮ menu, or tick services and click Delete in the toolbar. A confirmation is asked:
- for one service: “Delete the service name? The server refuses while a plan belongs to it.”;
- for a selection: “Delete these n services? The server refuses the ones a plan belongs to.”
A service that still has plans cannot be deleted: “This service cannot be deleted: plans use it.” Delete or move its plans first (see Plans).
Deleting a service also deletes all its features, base included.