20. Role Based Access Control In NestJS

Sdílet
Vložit
  • čas přidán 31. 10. 2021
  • In this video, we learn how to limit backend access only to certain roles and use Role based access control.

Komentáře • 9

  • @gigakvachakhia4777
    @gigakvachakhia4777 Před 2 lety

    great guides, keep going.

  • @cloudflower6358
    @cloudflower6358 Před 2 lety

    thank you

  • @FactShower
    @FactShower Před 2 lety +1

    what should we do for the createOwn and updateOwn in the controller? Please reply I need help

  • @ashishkumari-yg4gn
    @ashishkumari-yg4gn Před rokem

    Thank you sir

  • @AzerRHD
    @AzerRHD Před 2 lety

    what should I do if I want an user can change his own post if he create it?

    • @ProgrammingIsFun
      @ProgrammingIsFun  Před 2 lety +3

      You need to give permissions to edit post route only to admin and the user himself. Check rhe documentation of nest-access-control for more information.

    • @AzerRHD
      @AzerRHD Před 2 lety +1

      @@ProgrammingIsFun Thanks a lot! You are helping me with this kind of videos to do my final project at university

    • @jhosefjr17dbz83
      @jhosefjr17dbz83 Před rokem +1

      @@AzerRHD Me too :D