Creating New Roles
👩🏻💻 Define user categories for access control.
Roles determine the scope of access to features and data for a user. A user can have one or many roles and will inherit the scope of their assigned roles.
Let's dive into the steps to create and configure roles:
- Go to the "System Settings" and select "Roles".

- Click on the "Add Role" button to start creating a new role.

- Fill in the following details for the role:
| Field | Details |
|---|---|
| Name | Provide a descriptive name for the role. |
| Identifier | This is a unique identifier for the role. |
| Icon | You can choose an icon that represents the role. |
| Dashboard Layout | Define the layout for the role's dashboard. |
| Grant Administrator Rights | Decide whether this role should have administrator rights. |
| Is Portal Role (REQUIRED) | Check this box to signify that this role is a portal role. |
| Custom Auth Domain & Auth Domain URL | If the portal is using a custom domain name for authentication, check the "custom-auth-domain" checkbox and fill in the "auth-domain-url" (For example: https://patient.portalabc.com.au). |
- Inside the Setting field, you can define custom authentication settings for a portal.

It specifies Login Screen Templates, Email Templates for password reset, User Sign-Up, and Welcome Messages. These settings would be utilised in the portal's authentication workflow to create a personalised and seamless experience for portal users during login, sign-up, and account management processes.
Below is an example of the setting.
{
"portal": {
...
"customAuthServer": {
"loginScreens": 1111,
"passwordResetEmailTemplateId": 2222,
"signUpEmailTemplateId": 3333,
"welcomeEmailTemplateId": 4444
}
}
}
Note:Don't forget to link the portal role to the portal.
📌 Need Help?
Updated over 1 year ago
Did this page help you?
