Permissions (QPR UI)

From Mea Wiki
Revision as of 07:38, 7 November 2017 by TeeHiet (talk | contribs) (TeeHiet moved page Permissions (QPR MobileDashboard) to Permissions (QPR UI): 403760)
Jump to navigation Jump to search

QPR UI contains basic user rights management (permissions). Users are either administrators or viewers 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 UI, the name of the administrators group is defined (so that QPR UI knows which group members to consider as administrators). If the administrators group hasn't been configured to QPR UI, all users have administrator permissions.

Note that QPR UI user management covers only QPR UI views (dashboards). User rights in the source systems, such as in QPR Suite or QPR UI, are applied when the data is viewed in QPR UI. For example, if a user doesn't have rights to a QPR ProcessAnalyzer model, the users cannot see the model in QPR UI.

Defining the administrators group

To define the administrators group in QPR UI, do as follows:

1. In the CONFIGURATIONENTITY table in the QPR UI database, add the following entry:

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 Administration Console, click Restart the server.

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.