Roles
Roles contain a set of permissions, of which then users can be assigned.
It is accessible through the following HTTP interfaces:
SCHEMA
Name | Description |
---|---|
_id | The id of the role. |
createdAt | When this role was created. |
updatedAt | When this role was last updated. |
title | The name of this role. |
description | The description of this role. |
owner_id | The id of the user who created this role. |
organisation | The id of the organisation this role is in. |
scopes | A list of organisation scopes of this role. |
ORGANISATION SCOPES
An organisation scope is a scope that is applied to a user per organisation. Available scopes:
Name |
---|
all |
org/public/dashboard/view |
org/public/dashboard/edit |
org/all/dashboard/view |
org/all/dashboard/edit |
org/public/visualisation/view |
org/public/visualisation/edit |
org/all/visualisation/view |
org/all/visualisation/edit |
org/public/journey/view |
org/public/journey/edit |
org/all/journey/view |
org/all/journey/edit |
org/public/statementForwarding/view |
org/public/statementForwarding/edit |
org/all/statementForwarding/view |
org/all/statementForwarding/edit |
org/all/query/view |
org/all/query/edit |
org/all/export/view |
org/all/export/edit |
org/all/download/view |
org/all/download/edit |
org/all/persona/manage |
org/all/activity/manage |
org/all/store/manage |
org/all/user/manage |
org/all/client/manage |
org/all/role/manage |
org/all/organisation/manage |
EXAMPLES
{
"_id" : "59c2371c16bc715f83c34501",
"createdAt" : "2017-09-19T12:58:58.884Z",
"updatedAt" : "2017-09-19T12:58:58.884Z",
"title" : "Example Role",
"owner_id" : "59c2371c16bc715f83c34502",
"organisation" : "59c2371c16bc715f83c34503",
"scopes" : [
"all"
]
}
Learning Locker and the Squirrel logo are trademark of Learning Pool 2020 | Learning Locker is licensed under GPL 3.0.