roles.csv: Bulk Management of User Permissions

What is roles.csv?

The roles.csv file allows System Administrators to assign, update, or remove user roles across Watermark products in bulk. This file must be used alongside people.csv, which only creates or updates user records, not their permissions.

roles.csv Format Requirements

Each row in the roles.csv must include the following fields:

  • person_id – Unique identifier for each user (from SIS). Not case-sensitive.
  • product – The product the role applies to. Accepted values (any casing): PSS, SLL, IH.
  • roles – The role(s) to assign, or none to remove all roles for that user/product.
    • Use a pipe (|) to separate multiple roles (when allowed).

Valid Roles per Product

Product Accepted Roles
PSS (Planning & Self Study) Administrator, Contributor
SLL (Student Learning & Licensure) Administrator, Faculty, Student (only one role allowed per user)
IH (Insights Hub) Administrator, Contributor
(all) none (removes all roles for the product for that user)

Note: Users must already exist in the system via a people.csv import before you can assign them roles in roles.csv.

Example

Scenario: A university needs to update roles for faculty and students in their system.

Previous Method (Using people.csv):

  • Importing people.csv with updated roles caused errors due to the inability to overwrite or remove existing roles.

New Method (Using roles.csv):

  1. Import people.csv to ensure all users exist in the system.
  2. Import roles.csv to update or remove roles as needed.

Sample roles.csv Format:

An excel sheet showing the sample of 'roles.csv' format.

  • Each row represents one product per user, ensuring proper role management.
  • Marking none in the roles column removes all product roles for that user, effectively revoking their access.

Visual Example: How to Import and Export the roles.csv in System Admin

The System Administration page showing the 'People' tab, with the Import Data drop-down menu open and the 'Import Roles' option highlighted. An arrow points to the Import Roles dialog, which includes a link to download the Roles Template .csv and a button to browse for a file. An example spreadsheet showing person_id, product, and roles columns is displayed to illustrate the required upload format.

Above image shows how to import roles in System Admin and where to download the roles.csv template.

The System Administration page showing the 'People' tab, with the Export Data menu open and the 'Export Roles' option highlighted. An arrow points to an exported spreadsheet displaying columns for person_id, product, and roles, with example role values such as student, contributor, and admin.

Above image shows how to export roles. Only Users with roles will be included in the export.

Preparing for the Change

To ensure a smooth transition:

  • Begin using roles.csv
  • Update any automated ZIP or API-based imports to include roles.csv for all future role assignments.
  • Remove reliance on roles within the people.csv file.

We will provide additional notice as the roles column is officially deprecated in people.csv. Early adoption of roles.csv will prevent disruptions to your import processes and support a cleaner, more maintainable role structure.

For more detailed instructions, please see CSV Import Guidelines.

Two tables showing frequently asked questions and validation errors related to role imports, including questions with answers and a list of common validation errors with their corresponding messages.

Pro Tips for Using Roles.csv

  1. Export People.csv first: Use the People.csv export to find Person IDs for users you want to update.
  2. Use Specified Formatting:
    • Multiple roles must use the pipe (|) delimiter.
    • For a product allowing only one role, ensure only one valid role is listed.
  3. Review Validation Errors: Errors provide row-specific feedback to help you correct issues quickly.
Was this article helpful?
2 out of 2 found this helpful

Articles in this section

See more
How to Contact Support
There are many ways to reach out! Click the icon above for our support options.
Watermark Academy
Click the icon above to access the Watermark Academy for consultation, training, and implementation companion courses.
Customer Community
Can’t find the answer? Ask fellow users how they’re making the most of Watermark in our Community!