InventoryMS - Spring Boot Roles and Privileges - 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 5

  • @olanrewajusaka3991
    @olanrewajusaka3991 21 วันที่ผ่านมา +2

    Legen You are outside of this World,, Well Structured, Good Presentation. God Bless You.. Sir if we are looking a Multitenancy way for this project

  • @imany14
    @imany14 21 วันที่ผ่านมา +1

    As always, you did a great video, appreciate you ;)

  • @aymo-lh4nq
    @aymo-lh4nq 3 วันที่ผ่านมา

    The relation between the user, privilege, user_assignment_privilege is understood,
    but why is there a direct relation between the user and the privilege? now the privilege has a userId property, but we know that the privilege has many userIds ..?

    • @KindsonTheTechPro
      @KindsonTheTechPro  2 วันที่ผ่านมา

      This is a good question.
      Actually we could do without the 'direct relation between the user and privilege'. But we need it for convenience for GET operations. This means that when we have a user object, we would also have his privileges without having the query the user_assignment repository. The same is true the other way.