Page tree
Skip to end of metadata
Go to start of metadata

XML Security files allow you to add an extra layer of data security to a Data Source, tying information from the report viewer's user profile to the report and auto-filtering table rows in the report.

For example, this form of data security could enable a Manager to only see the data of users they manage (tying the User ID of the Manager to the Manager ID of the User) or a User to only see their own data (tying the User ID of the User to the User ID in the report).

To Upload a Data Source Security File

To add the security file to the Data Source, complete the following steps:

 

  1. From the Repository, edit a Data Source by right-clicking it and selecting Edit from the context-menu.

  2. From the Edit Data Source page, click the Add Security File link from below the Optional Information header. The Add Security File window opens.

  3. Ensure that the Upload a Local File option is selected.

  4. Click the Choose File button to open a browser of your local drive.

  5. Select your security XML file and click Open. The name of your security file will now display next to the Choose File button.

  6. Click the Select button to upload the security file.  

  7. Once the file is uploaded, it will display in the Optional Information column in the Security File section. You can return to it in the future to edit or remove the file by clicking Change or Remove, as needed.

  8. To save your changes to the Data Source, click the Submit button.

  

Additional XML Examples

To download from our library of XML files, please visit our Dropbox folder here:

https://www.dropbox.com/sh/6z85sso6ikf82kl/AAA-FVcpl7x2lVB4V0hyn--Wa?dl=0&lst= 

User Profile Fields Available For Data Source Security

User ID

For both Moodle and Totara—you may use the User ID from the viewer profile to auto-filter the report to only show data for that user.

Department ID
For both Moodle and Totara—you may use the Department ID from the viewer profile to auto-filter the report to only show users who belong to the same Department.

Institution ID
For both Moodle and Totara—you may use the Institution ID from the viewer profile to auto-filter the report to only show users who belong to the same Institution.

Custom User Profile Field
For both Moodle and Totara—you may use a Custom User Profile field from the viewer profile to auto-filter the report to only show data who match the values in those user profile fields.

Group ID
For both Moodle and Totara—you may use the Group ID from the viewer profile to auto-filter the report to only show users who belong to the same Group.

 

Cohort / Audience ID
For both Moodle and Totara—you may use the Cohort / Audience ID from the viewer profile to auto-filter the report to only show users who belong to the same Cohort / Audience.

Enrolled Course ID
For both Moodle and Totara—you may use the Enrolled Course ID(s) from the viewer profile to auto-filter the report to only show the users in courses.  Note: This is only available to Manager roles.

Organization ID
For Totara—you may use the Organization ID from the viewer profile to auto-filter the report to only show users who belong to the same Organization.

Position ID
For Totara—you may use the Position ID from the viewer profile to auto-filter the report to only show users who belong to the same Position.

Organization ID and Position ID
For Totara—you may use the combine the Organization ID and Position ID from the viewer profile to auto-filter the report to only show users who belong to the same Organization and Position.

Manager ID
For Totara—you may use the Manager ID from the viewer profile to auto-filter the report to only show users who report to the Manager.

Current Course ID
For both Moodle and Totara—you may use a Course ID from the Course page in the LMS to auto-filter the report to only show data that matches the Course.

  • No labels