rubyforgood/voices-of-consent

Update importer for Volunteers (permissions)

Open

#326 opened on Oct 13, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Ruby (80 forks)auto 404
Priority: Mediumhelp wanted

Repository metrics

Stars
 (40 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently there is an issue when importing volunteers where the email field cannot be pulled in from the CSV field because it is not an attribute on the Volunteer Model. In order to solve this issue, the email field provided in the CSV should be used to first create a user, along with the appropriate permissions see Issue #324 . With this in place, the user email can then be used in the creation of the volunteer, allowing for the DB to be populated with the new entry.

  • Create functionality that will pull in the PERMISSIONS provided from the CSV File to be used in the creation of a new user, linked to the volunteer being created.

Contributor guide