Difference between revisions of "Permissions (QPR UI)"

From Mea Wiki
Jump to navigation Jump to search
(307095)
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
QPR MobileDashboard can be configured to use an administrators user group, so that only the users belonging to the administrators group can create and edit views. When the administrators group hasn't been configured, all users can create and edit views.
+
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.
  
== Defining the Administrators Group ==
+
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.
To define the administrators group:<br>
+
 
1. In the '''CONFIGURATIONENTITY''' table in the '''QPR MobileDashboard database''', add the following entry:<br>
+
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.
:: {| 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]], '''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.