Difference between revisions of "Permissions (QPR UI)"

From Mea Wiki
Jump to navigation Jump to search
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
QPR MobileDashboard contains basic user rights management (permissions). Users are either '''administrators''' or '''viewers''' in QPR MobileDashboard. Only administrator users can create, edit and delete views. Viewers cannot create, edit and delete views, but are able to open them.
+
QPR UI contains basic user rights management (permissions). Users have either '''administrators''' or '''viewers''' role in QPR UI. Only administrator users can create, edit and delete views. Viewers cannot create, edit and delete views, but are able to open them.
  
Administrator users are defined by a user group that is maintained in QPR Suite or QPR ProcessAnalyzer user management. In QPR MobileDashboard, the name of the administrators group is defined (so that QPR MobileDashboard knows which group members to consider as administrators). If the administrators group hasn't been configured to QPR MobileDashboard, all users have administrator permissions.
+
Administrator users belong to a user group that is maintained in QPR Suite or QPR ProcessAnalyzer user management. The name of the administrators group is defined by setting ADMINISTRATORS_GROUP_NAME in [[QPR UI System Settings]]. If the administrators group hasn't been configured to QPR UI, all users have the administrator role.
  
Note that QPR MobileDashboard user management covers only QPR MobileDashboard views (dashboards). User rights in the source systems, such as in QPR Suite or QPR MobileDashboard, are applied when the data is viewed in QPR MobileDashboard. For example, if a user doesn't have rights to a QPR ProcessAnalyzer model, the users cannot see the model in QPR MobileDashboard.
+
QPR UI user permissions cover only QPR UI views definition (i.e. not the data that the view shows). User rights of the source systems, such as in QPR Suite or QPR ProcessAnalyzer, are applied when the data is fetched from the source system to be shown in QPR UI. For example, if a user doesn't have rights to a QPR ProcessAnalyzer model, the users cannot see that model in QPR UI.
 
 
== Defining the administrators group ==
 
To define the administrators group in QPR MobileDashboard, do as follows:
 
 
 
1. In the '''CONFIGURATIONENTITY''' table in the '''QPR MobileDashboard database''', add the following entry:<br>
 
:: {| class="wikitable"
 
! KEY_FIELD
 
! VALUE_FIELD
 
|-
 
|ADMINISTRATORS_GROUP_NAME
 
|<Name of the user group in QPR MEA or QPR ProcessAnalyzer service whose members should be able to edit views>
 
|}
 
2. On the '''Server''' page of [[Glassfish_Configuration_in_QPR_MobileDashboard|Glassfish Administration Console]], click '''Restart''' the server.
 
  
 
{{MBDViewAndEditModes}}
 
{{MBDViewAndEditModes}}
  
[[Category: QPR MobileDashboard]]
+
[[Category: QPR UI]]
 +
__NOTOC__

Latest revision as of 20:40, 25 January 2018

QPR UI contains basic user rights management (permissions). Users have either administrators or viewers role in QPR UI. Only administrator users can create, edit and delete views. Viewers cannot create, edit and delete views, but are able to open them.

Administrator users belong to a user group that is maintained in QPR Suite or QPR ProcessAnalyzer user management. The name of the administrators group is defined by setting ADMINISTRATORS_GROUP_NAME in QPR UI System Settings. If the administrators group hasn't been configured to QPR UI, all users have the administrator role.

QPR UI user permissions cover only QPR UI views definition (i.e. not the data that the view shows). User rights of the source systems, such as in QPR Suite or QPR ProcessAnalyzer, are applied when the data is fetched from the source system to be shown in QPR UI. For example, if a user doesn't have rights to a QPR ProcessAnalyzer model, the users cannot see that model in QPR UI.

Viewing and Editor Modes of Views and Panels

In QPR UI, a view may be seen in two modes: viewing mode and editor mode. When in editor mode, the panels and presentation objects can only be moved and resized. Interacting with presentation objects (e.g. clicking buttons) is possible when the viewing mode is used. In addition, a view can be either in locked or unlocked state.

  • Viewing mode is in use when:
    • Administrators group has been configured to QPR UI and a viewer role user opens the view, because user doesn't have permissions to edit the view.
    • The opened view is locked, because locked views cannot be edited.
    • The opened view is unlocked, but the view has been toggled into viewing mode by clicking the Edit button on the main toolbar:
      800px
  • Editor mode is in use when:
    • Administrators group has been configured to QPR UI and an administrator role user opens an unlocked view that is also been set into editor mode by clicking the Edit button on the main toolbar:
      800px
    • Administrators group has not been configured (i.e. all users are administrators), and the opened view is unlocked and the view been toggled into editor mode by clicking the Edit button on the main toolbar.

The Edit button is available also in unlocked panels for toggling the viewing/editor mode in the panel editor.