Folio Users for testing - created/updated by script

Script Purpose

The purpose of the script is to create/update test users with different permission sets to be used for testing purposes on Snapshot.

Using the script helps to:

  • reduce the burden on POs related to manual creation of test users with different permissions by making the script a part of deployment pipeline for the Snapshot (thus, test users with corresponding permission sets are automatically created upon regular re-deployment)

  • avoid testing with the diku_admin super user only

  • catch issues while development period through testing with limited-permission users and, thus, reduce the number of issues reported while BugFest

Permission Sets

The following document provides examples of test users (see Column D - User Name), corresponding permission sets (see Column B - Permission Set Name), and permissions included into permission sets (see Column C - Permissions Contained).

Permission Sets for Testing

Permission Sets Editing

See Video guide

  1. Go to https://github.com/folio-org/folio-tools/tree/master/add-users/psets
  2. Select .json file corresponding to the permission set to be edited
  3. Go to Edit mode (pencil icon)
  4. Remove, add, or update permissions included into the permission set
  5. Commit changes with appropriate comment to clarify what was updated.