Permissions (QPR UI)

From Mea Wiki
Jump to navigation Jump to search

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.