4.2.3.2 Configure role titles
OpenCRVS has a pre-configured set of user roles with permissions, but you can name these roles anything you like.
You need to prepare the initial role titles with translations in a csv file.
Using our roles.csv file as an example, you create all the roles you need mapped to the built in systemRoles:
systemRole | label_en | label_fr |
---|---|---|
FIELD_AGENT | Police Officer | Officier de police |
FIELD_AGENT | Social Worker | Travailleur social |
FIELD_AGENT | Healthcare Worker | Personnel de santé |
FIELD_AGENT | Local Leader | Leader local |
REGISTRATION_AGENT | Registration Agent | Agent d'enregistrement |
LOCAL_REGISTRAR | Local Registrar | Registraire local |
LOCAL_SYSTEM_ADMIN | Local System Admin | Administrateur système local |
NATIONAL_SYSTEM_ADMIN | National System Admin | Administrateur système national |
PERFORMANCE_MANAGEMENT | Performance Manager | Gestion des performances |
NATIONAL_REGISTRAR | National Registrar | Registraire national |
Do not change or re-format the header row as the code requires these names to be precise in order to parse the csv. Do not use commas in any cell and do not have any empty rows.
Each row will represent a unique "role" in your country.
The systemRole column is the identifier for the available system roles in OpenCRVS. Values must be set to one of the following supported system roles only:
FIELD_AGENT
REGISTRATION_AGENT
LOCAL_REGISTRAR
LOCAL_SYSTEM_ADMIN
NATIONAL_SYSTEM_ADMIN
NATIONAL_REGISTRAR
PERFORMANCE_MANAGEMENT
The label columns should be duplicated according to the languages you wish to configure in your system.