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.

| User can | Set in AF |
|---|---|
| View reports | Read and ReadData on the Reports element |
| Execute reports | additionally Write and WriteData on the Reports element, and WriteData on the ReportExecution event frame template |
| Create and edit reports | additionally Admin on the Reports element |
| Create prints (Print pane, Print symbol) and previews | WriteData 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.

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.

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.

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.
- In PI System Explorer, go to Library > Templates > Event Frame Templates > ManualExecution and click Security.
- Select the users' identity.
- Allow Write Data. Read/Write Data is then allowed as well.
- 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.


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.
