ne0fite / GigKeeper

GNU General Public License v3.0
1 stars 0 forks source link

Registration Flow #7

Closed ne0fite closed 7 years ago

ne0fite commented 7 years ago

During the closed beta, new user registrations will require an invite code from an administrator.

Use Case Flow

  1. Entitled user completes a form to create a new invite code for a user by email address. If the email address already exists, a new invite code is created for the email address
  2. The invite code is created and sent to the user by email
  3. User clicks link in email which loads home page with registration form
  4. User enters invite code, email address, and password / confirm password
  5. New account is created
  6. User is sent to home page with success message

Scope

  1. Add permission model and "can-invite" permission. For now, user are given the permission manually via database query.
  2. Add an invite model to store email address and invite codes
  3. Add an "Invite" page to invite a user by email. This is linked under the My Account menu.
  4. Add registration form to include email address, invite code, password, and password confirm. Upon successful submission to the registration endpoint, the user is redirected to a welcome page.
  5. Add registration endpoint that validates the email address / invite code combination and the password / confirm combo. If valid, creates a new profile and account and sends an email notification to the system admin that a new invite was registered.

Thoughts

  1. Welcome page could include the settings form so the user can setup their home base and gig defaults.
  2. How long should the invite code be valid?