joblike / joblike-service

Server side using nest.js
1 stars 1 forks source link

Auth phase 2 - add DB #12

Open cawak opened 4 years ago

cawak commented 4 years ago

In brief:

  1. User:

    userUuid
    email (string)
    full name
    encrypted password (string)
    roleUuid
    create_time_stamp
    update_time
  2. Role:

    uuid
    role (string)
  3. Role per permission (many to many):

    roleUuid
    permissionUuid
  4. Permission:

    uuid
    permissionName

We need to check whether we can unite tables 2-4 into a single one which will resemble table 3.

Additional user data which related to business may be related to the soon to come recommendation module.