Permissions (QPR UI)

From Mea Wiki
Jump to navigation Jump to search

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.

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.

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.

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:

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.