Global roles
Create a role
Creating a system-wide role requires the CREATE_ROLE
permission on a system level. The following example shows how you can do this using the Extra Horizon SDK:
Attach permissions to a role
Attach a role to a user
Remove a role from a user
Permissions
name | Description |
---|---|
| View all users |
| Update a user |
| Update users email |
| Delete users |
| Create a new role |
| View roles |
| update a role |
| delete a role |
| Add permissions to a role |
| Remove permissions from a role |
| add a role to a user |
| remove a role from a user |
| add roles to a group |
| update roles from a group |
| delete roles from group |
| Add a permission to group roles |
| Remove a permission from group roles |
| View the staff members of groups |
| Add staff to a group |
| Remove staff from a group |
| Add a group role to a staff member |
| Remove a group role from a staff member |
| View the patients of groups |
| Add patients to a group |
| Remove patients from a group |
There are more permissions that you can attach to system roles that affect the allowed actions in other services. An overview of those permissions can be found in the designated service documentation.
Last updated