remove guard
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-23 11:02:51 +01:00
parent db27a938b5
commit 55611fe525
+2 -2
View File
@@ -17,8 +17,8 @@ import { ImagesService } from './images.service';
export class ImagesController { export class ImagesController {
constructor(private readonly imagesService: ImagesService) {} constructor(private readonly imagesService: ImagesService) {}
@UseGuards(AuthGuard('keycloak'), UserProvisioningGuard, RolesGuard) @UseGuards(AuthGuard('keycloak'))
@Roles(UserRole.ADMIN, UserRole.EDITOR, UserRole.AUTHOR) //@Roles(UserRole.ADMIN, UserRole.EDITOR, UserRole.AUTHOR)
@Post('upload') @Post('upload')
@UseInterceptors(FileInterceptor('file', { limits: { fileSize: 15 * 1024 * 1024 } })) @UseInterceptors(FileInterceptor('file', { limits: { fileSize: 15 * 1024 * 1024 } }))
upload(@UploadedFile() file: Express.Multer.File) { upload(@UploadedFile() file: Express.Multer.File) {