Photo by ika ika on Unsplash

  • Authorization in NestJS

    Once a NestJS request has a user, authorization decides what that user may do. This chapter builds role checks from a typed decorator and a guard, orders them after authentication, adds a @CurrentUser() parameter, and moves ownership checks into the service where the data is.

    · Server Development / NestJS / Security

Search articles

Type a word to search published articles.

Open the search page