Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

An admin user can create other users 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,

  1. Go to the Global menu. (vertical ellipses at the top right of the page)

  2. Click on Personas.

Default personas

The below default Personas are available in Orbita.

Administrator

  • Global administrator user with full permissions.

Advocate

Caregiver

  • ss

Clinician

Developer

Users

  • s

Custom personas

An admin user can create custom personas. To create a custom persona,

  1. Go to the Personas listing page and click on (plus) icon.

  2. Give a name and description of the persona.

  3. Create a Schema with all the necessary fields. for more information, see Creating a schema

  4. 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.

    [
        {
            "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"
        }
    ]
  5. 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.

User accounts

Creating a new user

The user creation begins with the assigning predefined roles.

Removing Users

Related Articles

  • No labels