From 3c3b5191fb316b4f41dcd31d0584457d756fd170 Mon Sep 17 00:00:00 2001 From: Sepehr Yahyaee Date: Thu, 11 Jun 2026 15:07:33 +0330 Subject: [PATCH] Removed access control for clients --- src/client/client.controller.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/client/client.controller.ts b/src/client/client.controller.ts index 0042443..7f0b443 100644 --- a/src/client/client.controller.ts +++ b/src/client/client.controller.ts @@ -1,10 +1,4 @@ -import { - Body, - Controller, - Get, - Post, - UseGuards, -} from "@nestjs/common"; +import { Body, Controller, Get, Post, UseGuards } from "@nestjs/common"; import { ApiBearerAuth, ApiTags } from "@nestjs/swagger"; import { GlobalGuard } from "src/auth/guards/global.guard"; import { RolesGuard } from "src/auth/guards/role.guard"; @@ -16,9 +10,6 @@ import { ClientDto } from "./dto/create-client.dto"; @Controller("client") @ApiTags("client-management") -@ApiBearerAuth() -@UseGuards(GlobalGuard, RolesGuard) -@Roles(RoleEnum.ADMIN) export class ClientController { constructor(private readonly clientService: ClientService) {}