Roles and Permissions
QPR ProcessAnalyzer has a role-based access control, where all operations require appropriate rights in order to be executable. Rights are given to users and groups by assigning roles to them. Roles are a collection of permissions. Permissions are fixed in QPR ProcessAnalyzer allowing certain operations to be done. Some roles are project-specific meaning that that role (and its permissions) is applicable only for that project. Roles can also be global which gives rights to all projects in the system. Users belonging to a group, have all the roles assigned to that group.
Global and Project Roles
There are two types of roles in QPR ProcessAnalyzer:
- Global roles are used to give rights in the entire QPR ProcessAnalyzer system.
- Project roles are used to give rights in a certain project. When assigning projects roles, the project is also defined.
By default, QPR ProcessAnalyzer system contains global and project roles that are shown in the following table (roles are as columns). The roles have been mapped to certain permissions that are also shown in the following table (permissions are as rows). It's possible to create new roles in QPR ProcessAnalyzer.
Global roles | Project roles | |||||||
---|---|---|---|---|---|---|---|---|
Permission | Allowed operations | Administrator | Create models | SQL Scripting | Administrator | Designer | Analyzer | Viewer |
View dashboards (GenericRead) |
|
|||||||
Save filters (Filtering) |
|
|||||||
Design dashboards (EditDashboards) |
|
|||||||
Import data (GenericWrite) |
|
|||||||
Manage filters (ManageViews) |
|
|||||||
Manage project (ManageProject) |
|
|||||||
Delete models (DeleteModel) |
As a project specific permission:
As a global permission:
|
|||||||
Manage scrips (ManageScripts) |
This permission to be effective requires also the RunScript permission. |
|||||||
Manage operations (ManageOperations) |
|
|||||||
Manage users (ManageUsers) |
|
|||||||
Create model (CreateModels) |
|
|||||||
SQL scripting (RunScripts) |
The rights depend also in which of the following contexts the script is located:
|
Datatable Permission
Permissions required for datatables:
- List datatables, view datatable properties and data contents: GenericRead for the project.
- Create datatable: GenericWrite for the project and global CreateModels.
- Change datatable properties and import data to datatable: GenericWrite for the project.
- Move datatable between projects: GenericWrite and DeleteModel to source project, GenericWrite for target project, and global CreateModels.
- Delete datatable: GenericWrite and DeleteModel for the project.
Dashboard Permissions
- View dashboard: EditDashboards for the project.
- Create dashboard: EditDashboards for the project.
- Edit dashboard: EditDashboards for the project.
- Move dashboard: EditDashboards for the original project and for the target project.
- Delete dashboard (permanently): EditDashboards for the project.
Project Permissions
- View project: GenericRead for the project. (There are separate permissions for viewing different type of objects in the project.)
- Create project: global CreateModels.
- Change project properties (e.g. name): GenericRead and ManageProject for the project.
- Move project: ManageProject for the moved project, GenericRead for the original parent project, and CreateModel for the target parent project.
- Delete project (to bin): ManageProject and DeleteModels for the project.
- Delete project (to permanently): global DeleteModels.
Scripting Permissions
For viewing script definitions and running scripts, global RunScripts permission is needed. All scripts linked to the current context are available provided that the current user has permission to see the scripts in the context. The required permissions by context are:
- System context: No additional requirements.
- Project context: GenericRead permission for the project.
- Model context: GenericRead permission for the project of the model.
- User context: If the script is linked to current user, then no additional requirements. If the script is linked to a group the current user belongs to, no additional requirements. If the script is linked to other users or user groups, global ManageScripts permission is required.
For script creation, modification, deletion and export, the following permissions are needed depending on the script context:
- System context: Global ManageScripts and RunScripts
- Project context: project ManageScripts and global RunScripts
- Model context: project ManageScripts and global RunScripts
- User context: Global RunScripts and if the script is linked to a user group the user belongs to, GroupAdministrator user group role is required.
If Hide Script Details is set for the script, only users with modify permissions for the script can see the script code and log.
Permissions for Other Operations
- Move a model from a project to another: GenericWrite and DeleteModel permissions for the source project and CreateModel permission for the target project
Group Roles
Group administrator | Normal member | Hidden Member | |
---|---|---|---|
Add and remove group members | |||
Create users to group | |||
Add and remove project access rights of a user | |||
Open model accessible to group members | |||
See unhidden group members | |||
See hidden group members |
If a group member is a project Administrator, the user can add and remove project specific access rights for the group or for any individual member of the project.