Features
Features are in the Reglab Platform › Features menu. A feature is a capability of a service; the service’s plans open a selection of them to users (see Key concepts).
Like the whole console, this page is reserved for platform administrators (role ROLE_ADMIN).
The list of features
The Features page opens on the catalogue: “The catalogue of features plans are built from.”
The features are grouped by service, the services in alphabetical order; a feature attached to no service shows under “No service”. For each feature, the list shows:
- the Feature name, which opens its page;
- its Description.
The Feature name and Description headers sort the list. The Global search… box searches the feature’s name and its service’s name.
The ⋮ menu of a feature offers View, Edit and Delete. Lists, selection and bulk delete work as everywhere in the console (see Lists and forms).
Creating a feature
Click New. The Create a new Feature form opens: “This form is dedicated to the creation of a Feature.”
Fill in:
- the Feature name: required, and unique within its service. A name already taken in the service is refused: “A feature with this name already exists.”;
- the Service (“Select a service”): required;
- the Description: optional, rich text.
Click Save. The message “You successfully created a Feature” shows and the list comes back. The new feature is open to nobody until a plan carries it: add it to the plans you want next (see Plans).
The name is a code. The applications open a screen or an action when the user’s plan carries a feature with a precise name, for example anacredit, pilar3 or mcp in CIRCÉ, assistant for the assistant. A feature that no application reads opens nothing; renaming a feature that is read closes what it opened. The list of the names read is in From plans to rights.
The description is for people: when a user’s rights change, the e-mail they receive names each feature by its description, or by its name when it has none.
The base feature
Each service has a base feature, created with the service (description “Access to the service”). It makes a user a member of the service: CIRCÉ, for example, counts as a member only a user whose plan carries base.
It is protected:
- it can be neither deleted, nor renamed, nor attached to another service: “A service’s base feature cannot be deleted, renamed or moved.”;
- every plan of the service carries it: the server adds it to a plan that lacks it.
It goes away only with its service.
A feature’s page
A feature’s page has its name as title and shows its Feature name, its Service and its Description. The Back and Edit buttons are at the top right.
Editing a feature
Use Edit in the ⋮ menu of the list, or the Edit button on the feature’s page. The Edit a Feature form offers the same fields. Save shows “You successfully updated a Feature” and leads back to the list.
The server refuses:
- to attach to another service a feature that a plan opens: “This feature cannot move to another service: plans use it.”;
- to rename or move the
basefeature (see The base feature).
Deleting a feature
Use Delete in the ⋮ menu, or tick features and click Delete in the toolbar. A confirmation is asked:
- for one feature: “Delete the feature name? The server refuses while a plan opens it.”;
- for a selection: “Delete these n features? The server refuses the ones a plan opens.”
A feature that a plan opens cannot be deleted: “This feature cannot be deleted: plans use it.” Take it off the plans first (see Plans). A service’s base feature cannot be deleted.