scratch_codes

Component ID

2152913

Component name

scratch_codes

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This project mains at bringing to drupal the possibility to add a field to user that allow him to enter a code from a scratch card to create his account or entering a scratch card code to his account.
The modules alsow brings admin form that can be used to create scratch codes, revoking them and managing affiliates.

usecases:

  • as a anonymous user, I can create my account on the site only if I use a scratch code
  • as an unpriviledged user, my account can be upgraded by entering a scratch code
  • as an authenticated users can use a scratch code to extand my account's activity on the site
  • as an admin, I can generate a list of scratch codes that can be used on my site
  • as an admin, I can import a list of scratch codes that can be used on my site
  • as an admin, I can revoke a list of scratch code, so that they can be no longer used on the site
  • as an admin, I can associate scratch code to an affilate so that I know for a particular user, where does the scratch code come from

This module shall be pluggable into rules so that activating a scratch code triggers some events to my site.