denizparlak1 / learning-platform

1 stars 0 forks source link

Database structure for authentication #1

Closed denizparlak1 closed 1 month ago

denizparlak1 commented 1 month ago

Create true structure and collection for authentication management

We should create 3 different auth structures and mechanism

  1. Main auth (Software admin)
  2. Organization auth (Customer admin or organization admin)
  3. Personal auth (Person who is under the organization)

Main Auth:

Organization Auth:

Personal Auth:

denizparlak1 commented 1 month ago

Database collection structure

Main Auth

Organization Auth

Personal Auth

denizparlak1 commented 1 month ago

14.10.2024 Mongodb Authantication structure

Mongo DB Structure.pdf

denizparlak1 commented 1 month ago

Added organization_id for organization info, organization admin user and organization user

denizparlak1 commented 1 month ago

Added is_active for user under organization.

denizparlak1 commented 1 month ago

Added is_active for organization admin and organization info