lundi 1 février 2021

Login System Design - For CRM Project

Building a customer relationship management system.

  • A particular company can buy our product to manage their customers
  • Once the company buys our product they will be assigned with username and password for logging into the application.
  • company: is the main admin to the application they can also add new admins to monitor their customers

How to Design a login system with multiple roles?

  • Company as main admin ex: XYZ solutions(Username:xyz@gmail.com, Password: Xyz123) can log in and can also add new admin say for example sub-admin:Santhosh@xyz.com.

  • now Santhosh@xyz.com (SUB ADMIN) should also be able to log in.

  • also need to limit the admins to 5: any idea how to achieve this?.

How to design the login system to this scenario and how should be my database, to save usernames and passwords of both admin and sub admin?

using java 8 with spring has my framework and MySQL as backend

Aucun commentaire:

Enregistrer un commentaire