rubyforgood/voices-of-consent

Update importer for Volunteers (permissions)

オープン

#326 opened on 2019/10/13

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Ruby (80 件のフォーク)auto 404
Priority: Mediumhelp wanted

Repository metrics

Stars
 (40 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド