Table of Contents |
---|
As an An admin user , while creating can create other users , you should assign a predefined role to the users. Each role’s page permissions can be customized.
Persona
...
in Orbita. Every user should be assigned to a predefined role, known as a persona. You can customize the page permissions for each persona and control what the users, that belong to each persona, can access.
Persona
In Orbita, personas are the roles you define to the users. For example, Admin, patient, caregiver. You can use one of the default personas or a custom persona while creating a user.
To view the personas available,
Go to the Global menu. (vertical ellipses at the top right of the page)
Click on Personas.
...
Default personas
The below default Personas are available in Orbita.
Administrator
Global administrator user with full permissions.
...
Developer
Users
s
Custom personas
As an An admin user , you can create custom personas.
You have to create a Schema
...
To create a custom persona,
Go to the Personas listing page and click on icon.
Give a name and description of the persona.
Create a Schema with all the necessary fields. for more information, see Creating a schema
For example, using the below code will generate a form in the user creation page with the fields such as username, password, first name, last name, and timezone.
Code Block [ { "type": "String", "fieldType": "email", "options": [], "validation": [ { "required": true } ], "isDefault": true, "_id": "594f2f8bd457f592003eedef", "label": "Username", "key": "username" }, { "type": "String", "fieldType": "password", "options": [], "validation": [ { "required": true } ], "isDefault": true, "_id": "594f2f8bd457f592003eedee", "label": "Password", "key": "password" }, { "type": "String", "fieldType": "text", "options": [], "validation": [ { "required": true } ], "isDefault": true, "_id": "594f2f8bd457f592003eeded", "label": "First Name", "key": "firstName" }, { "type": "String", "fieldType": "text", "options": [], "validation": [ { "required": true } ], "isDefault": true, "_id": "594f2f8bd457f592003eedec", "label": "Last Name", "key": "lastName" }, { "type": "String", "fieldType": "text", "options": [], "validation": [], "isDefault": true, "_id": "5e00f632a1c0aa007794a17a", "key": "avatarSrc", "label": "Avatar" }, { "type": "String", "fieldType": "select", "options": [ { "key": "Pacific/Honolulu", "value": "Hawaii-Aleutian Standard Time" }, { "key": "America/Adak", "value": "Hawaii-Aleutian Daylight Time" }, { "key": "America/Anchorage", "value": "Alaska Daylight Time" }, { "key": "America/Los_Angeles", "value": "Pacific Daylight Time" }, { "key": "America/Phoenix", "value": "Mountain Standard Time" }, { "key": "America/Denver", "value": "Mountain Daylight Time" }, { "key": "America/Chicago", "value": "Central Daylight Time" }, { "key": "America/New_York", "value": "Eastern Daylight Time", "defaultOption": "Eastern Daylight Time", "default": true }, { "key": "Australia/Sydney", "value": "Australian Eastern Standard Time" } ], "validation": [ { "required": true } ], "isDefault": true, "_id": "5e00f632a1c0aa007794a179", "key": "timezone", "label": "timezone" } ]
These fields will be rendered on the user page, which will be explained in the next section.
Users
Anyone who uses Orbita is considered a user.
User Permissions
You can assign a user to one or more roles of the below sets of permissions for the appropriate site access. Users will not be able to see or access navigation menu items or pages they do not have access to.
...