Summary:

Multi-Tenant Application:

Quick Learn is going to be a multi-tenant application. Right now we are not building any signup process and here is how onboarding is supposed to happen.

  1. We will seed a database with one organization (let’s say - Crownstack) and seed a super admin.
  2. This super admin can now log in to the account using the Login screen by entering username and password.
  3. Super admin will add team members from the “Add Member” screen by filling in the details of the user along with a password. Super admin will then send the user this password and the user can log in using his email and password. The user can then change his password from the “Change Password” screen in profile settings if he wants to OR can reset password from “Forgot Password” screen.

Note: In the future: Onboarding might get complicated with SSO, Invite Users, and Login with best Talent button. But right now, we are keeping this super simple to get going. We do not need to over-engineer login/signup at the moment, nor do we need to build the features mentioned above in advance. Let’s keep it super simple and allow login with user email and password.

User Story 1: An Active user should be able to log in using email and password.

Summary

As a user, I should be able to log in to the account with an email and password. Users involved are super admin, admin, member, and editor.

Acceptance Criteria

  1. An Active User should be able to login with correct username and password. Inactive/Archived users can not login.

Validations

  1. Both username and password fields are required to log in.
  2. Only active users will be able to log in
  3. If the user doesn’t exist in the database, they will not be able to log in

Errors