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 22 Next »

Table of Contents

Roles

Roles are a set of Permissions grouped together under a name. Each Organization defines its own roles and the permissions they contain. 

A User can only be associated with a single Role.

Permissions

 

IDOrganization-RelatedDescriptionUsed In
list_organizationsNoUsers with this permission can get a list of all organizations.
read_organizationYesUsers with this permission can request information of a specific organization.
list_facilitiesYesUsers with this permission can get a list of all facilities within an organization.
read_facilityYesUsers with this permission can request information of a specific facility of an organization.
list_workspacesYesUsers with this permission can get a list of all workspaces within an organization.
read_workspaceYesUsers with this permission can request information of a specific workspace of an organization.
list_roomsYesUsers with this permission can get a list of all the rooms of any workspace in the organization.
read_roomYesUsers with this permission can request information of a specific room of an organization.
list_rolesYesUsers with this permission can get a list of all the roles within a specific organization.
read_roleYesUsers with this permission can request information of a specific role in an organization.
  • Read Organization's Role
list_usersYesUsers with this permission can get a list of all the users within a specific organization.
list_users_from_all_organizationsNoUsers with this permission can get a list of all the users from all the organizations.
  • List Users (if 'location' is not specified, this permission is required)
read_userYesUsers with this permission can read information of users from the specified organization.
delete_userYesUsers with this permission can delete users from the specified organization.
modify_userYesUsers with this permission can modify information about users from the specified organization.
modify_own_userNoUsers with this permission can modify his/her own user. A user with this permission can't modify either his/her Facility nor Role.

modify_user_nfc_tag

YesUsers with this permission can modify users tag ids in the specified organization. A user can modify its own tag id even without having this permission: 'modify_own_user' is enough to do this (if the Facility allows this by having nfcSelfModificationEnabled = true).
list_patients_from_all_organizationsNo

Users with this permission can get a list of all the patients from all the organizations.

This permission is also used when a patient is assigned to a user. A user can only be assigned to a patient he/she could list. 

list_patients_from_current_organizationNo

Users with this permission can get a list of all the patients from the organizations where they belong.

This permission is also used when a patient is assigned to a user. A user can only be assigned to a patient he/she could list.

list_patients_from_current_facilityNo

Users with this permission can get a list of all the patients from the facility where they belong.

This permission is also used when a patient is assigned to a user. A user can only be assigned to a patient he/she could list.

modify_patients_from_all_organizationsNoUsers with this permission can modify patients (i.e. Admission Form) from all the organizations.
modify_patients_from_current_organizationNoUsers with this permission can modify patients (i.e. Admission Form) from the organization where he/she belongs.
modify_patients_from_current_facilityNoUsers with this permission can modify patients (i.e. Admission Form) from the facility where he/she belongs.
list_discharged_patientsNoUsers with this permission will get discharged patients in the list returned by List Patient operation.
discharge_patientsYesUsers with this permission can submit the special 'discharge patient' form.
final_discharge_patientsYesUsers with this permission can submit the special 'discharge final patient' form.
send_messagesNoUsers with this permission can make use of the communication API

read_alerts_only_from_associated_patients

NoUsers with this permission will only receive Alerts for the patients that he/she has currently assigned. Direct Alerts (sent to a specific user id) are still visible even without this permission.

read_alerts_from_entire_organization

NoUsers with this permission will receive alerts from patients in the entire organization (as long as the alert is configured to be sent to the user's role). Without this permission, only alerts related to the same facility where the user belongs are returned.
re_schedule_alerts_from_all_organizationsNoUsers with this permission are allowed to trigger a re-schedule action for all the time based alerts configurations from ALL the organizations.
re_schedule_alerts_from_organizationYesUsers with this permission are allowed to trigger a re-schedule action for all the time based alerts configurations from a specific the organization.
access_reportsNoUI permission. This permission is never used in the back-end. This permission is used in the UI to display or hide the Reporting section of the application.N/A
access_inboxNoUI permission. This permission is never used in the back-end. This permission is used in the UI to display or hide the Inbox section of the application.N/A
access_formsNoUI permission. This permission is never used in the back-end. This permission is used in the UI to display or hide the Surveys (aka Forms) section of the application.N/A
modify_roleYesUsers with this permission are allowed to create or edit roles from a specific the organization.Create or Edit role
modify_roomYesUsers with this permission are allowed to create or edit room from a specific the organization.Create or Edit room
delete_roomYesUsers with this permission are allowed to delete room from a specific the organization.Delete room
delete_roleYesUsers with this permission are allowed to delete role from a specific the organization.Delete role
modify_facilitiesYesUsers with this permission are allowed to create or edit shift durations from a specific the organization.Create or Edit shift durations
delete_facilitiesYesUsers with this permission are allowed to delete shift durations from a specific the organization.Delete Shift Durations
list_progarmsYesUsers with this permission are allowed to fetch programs from a specific the organization.Fetch Programs
modify_role_permissionYesUsers with this permission are allowed to edit role permissions from a specific the organization.Edit role permissions
list_programs_formsYesUsers with this permission are allowed to fetch programs with associated forms from a specific the organization.Fetch programs with forms
modify_formsYesUsers with this permission are allowed to edit forms from a specific the organization.Edit forms
list_devicesYesUsers with this permission are allowed to fetch devices by organization or facility or workspace.Fetch devices
delete_devicesYesUsers with this permission are allowed to delete devices.Delete devices
modify_devicesYesUsers with this permission are allowed to create or edit devicesCreate or Edit devices
list_device_historyYesUsers with this permission are allowed to fetch device history from a specific the organization.Fetch device history
list_formsYes Fetch Active Forms

User Statuses

Each user has an associated Status in the System. User Statuses are defined at a system level: all organizations share the same set of possible statuses.  

The current supported statuses are:

StatusDescriptionUsed In
ACTIVEThis status is required for a User in order to log in into the application.
  • Login
PENDINGThe default status for newly created users.
  • User Registration
SUSPENDEDUsers may be suspended to avoid them to log in into the system for a period of time.
  • Update User Information
INACTIVEUsers are never deleted from the database. Instead, their status is changed to INACTIVE.
  • Delete User



Even if the API doesn't impose any limitation between the transition from one status to another, the UI implements the following state machine:

 








  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.