Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update importer for Volunteers (permissions) #326

Open
bransynluther opened this issue Oct 13, 2019 · 1 comment
Open

Update importer for Volunteers (permissions) #326

bransynluther opened this issue Oct 13, 2019 · 1 comment

Comments

@bransynluther
Copy link
Collaborator

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.
@maebeale
Copy link
Collaborator

Add permission_name as one of the fields that can be imported in the volunteer importer, per volunteer.rb
https://github.com/rubyforgood/voices-of-consent/blob/develop/app/models/volunteer.rb

@maebeale maebeale added Priority: Medium help wanted and removed Hacktoberfest Hacktoberfest issues for your resolution! labels Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants