Documentation Vision Report+ Documentation

Vision Report+ / Administration Guide

Managing end-user permissions

This chapter sets in AF who can view, run, create and edit reports and create prints.

Overview

This chapter sets in AF who can view, run, create and edit reports and create prints.

Vision Report+ evaluates AF security in PI System Explorer. The Vision Report+ elements are in the AF database under Elements\SoftwareAthlete\VisionReport+; each report is a child element of Reports and inherits its security when it is created. The complete mapping of actions to AF permissions is in Permissions.

AF element tree with the Reports element under SoftwareAthlete\VisionReport+
User canSet in AF
View reportsRead and ReadData on the Reports element
Execute reportsadditionally Write and WriteData on the Reports element, and WriteData on the ReportExecution event frame template
Create and edit reportsadditionally Admin on the Reports element
Create prints (Print pane, Print symbol) and previewsWriteData on the ManualExecution event frame template

Users check their own effective permissions with Access diagnostics in the Reports pane. Report owners and PI Vision administrators change the security of a single report in the report's Security section (described in the User Guide).

Read reports

To let users open reports and their output only, set Read and ReadData for their identity on the Reports element.

Reports element security with Read and Read Data allowed

Execute reports

To let users also run reports, add Write and WriteData on the Reports element, and WriteData on Library > Templates > Event Frame Templates > ReportExecution.

Reports element security with Read, Read Data and Write Data allowed

Create and edit reports

To let users create and edit reports, add Admin for their identity on the Reports element. Admin also shows the System Status page.

Reports element security with all permissions including Admin allowed

Create prints

To let users create prints from the Print pane or the Vision Report Print symbol and preview reports, give their identity Write Data on the ManualExecution event frame template. Without it, PI Vision shows Creating manual execution failed. Vision Report+ Manual Print permission is required.

  1. In PI System Explorer, go to Library > Templates > Event Frame Templates > ManualExecution and click Security.
  2. Select the users' identity.
  3. Allow Write Data. Read/Write Data is then allowed as well.
  4. Click OK.

To limit where prints can be mailed, list the allowed domains on every service node in C:\ProgramData\Software Athlete\Vision Report+\appsettings.json. By default every recipient is allowed:

"Service": {
  "AllowedPrintMailDomains": [ "contoso.com" ]
}

Only the exact domain counts: contoso.com does not include mail.contoso.com. If a recipient is outside the list, nothing is mailed, the print completes with errors and the error names the recipient. The file is still created. The setting covers the Print pane and the print button, not the mail of a report's own schedule or Execute run.

ManualExecution event frame template in the AF library
ManualExecution template security with Write Data allowed for a user identity; the numbers match the steps

Approvers

Approvers need no permission set by hand: the service grants Annotate to the configured approver identities on each approval execution (see Report approval). Do not grant Annotate on the ReportExecution template to other identities, and do not deny it to the service account.