1import { Injectable, CanActivate, ExecutionContext } from '@nestjs/common';
2import { Observable } from 'rxjs';
3
4@Injectable()
5export class RolesGuard implements CanActivate {
6 canActivate(
7 context: ExecutionContext,
8 ): boolean | Promise<boolean> | Observable<boolean> {
9 return true;
10 }
11}