From e993351a65bdaadb63ee598b76f126311251db70 Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Mon, 21 Oct 2024 10:21:23 +0400 Subject: [PATCH] removed permission guard for now --- src/community/controllers/community-spaces.controller.ts | 2 +- src/community/controllers/community.controller.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/community/controllers/community-spaces.controller.ts b/src/community/controllers/community-spaces.controller.ts index 333644f..437b047 100644 --- a/src/community/controllers/community-spaces.controller.ts +++ b/src/community/controllers/community-spaces.controller.ts @@ -17,7 +17,7 @@ export class CommunitySpaceController { constructor(private readonly communitySpaceService: CommunitySpaceService) {} @ApiBearerAuth() - @UseGuards(JwtAuthGuard, CommunityPermissionGuard) + @UseGuards(JwtAuthGuard) @ApiOperation({ summary: ControllerRoute.COMMUNITY_SPACE.ACTIONS diff --git a/src/community/controllers/community.controller.ts b/src/community/controllers/community.controller.ts index 925f1c6..374eb59 100644 --- a/src/community/controllers/community.controller.ts +++ b/src/community/controllers/community.controller.ts @@ -43,7 +43,7 @@ export class CommunityController { } @ApiBearerAuth() - @UseGuards(JwtAuthGuard, CommunityPermissionGuard) + @UseGuards(JwtAuthGuard) @ApiOperation({ summary: ControllerRoute.COMMUNITY.ACTIONS.GET_COMMUNITY_BY_ID_SUMMARY, description: @@ -70,7 +70,7 @@ export class CommunityController { } @ApiBearerAuth() - @UseGuards(JwtAuthGuard, CommunityPermissionGuard) + @UseGuards(JwtAuthGuard) @ApiOperation({ summary: ControllerRoute.COMMUNITY.ACTIONS.UPDATE_COMMUNITY_SUMMARY, description: ControllerRoute.COMMUNITY.ACTIONS.UPDATE_COMMUNITY_DESCRIPTION,