Closed Shinigami92 closed 5 years ago
Implement a guard that can take some roles. Helpfull documentation: https://docs.nestjs.com/guards
The guard shoud be usable like this:
@HasRoles([Role.ADMIN, Role.USERADMIN])
Implement a guard that can take some roles. Helpfull documentation: https://docs.nestjs.com/guards
The guard shoud be usable like this: