Groups
Create a group
Create a Group Role
//step1: create a new role
const myNewGroupRole = await exh.users.groupRoles.add(
'841e55106a2a40c39ed6359b2c137a19',
{
name: 'myGroupRole',
description: 'myNewGroupRoleDescription',
}
);
//step2: attach permissions to the new group role
const rql = rqlBuilder().eq('id', myNewGroupRole.id).build();
await exh.users.groupRoles.addPermissions(
myNewGroupRole.groupId,
{
permissions: ['UPDATE_GROUP_ROLE'],
},
rql
);Group Permissions
Permission
Description
Staff Enlistment
Default permissions
See a limited set of fields of all patients and staff members (of the groups where you are enlisted as staff member)
Enlist a Staff member
Patient Enlistment
Default permissions
Description
Enlist a patient
Last updated