From bcc3380cfca3ea1faf2a72b30d18f465bdc27634 Mon Sep 17 00:00:00 2001 From: CyberRex Date: Fri, 6 Jan 2023 08:05:02 +0900 Subject: [PATCH] fix(backend): Set correct access control of admin/drive/files (#9472) --- packages/backend/src/server/api/endpoints/admin/drive/files.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/admin/drive/files.ts b/packages/backend/src/server/api/endpoints/admin/drive/files.ts index 53a37cb691..8a4498d5fa 100644 --- a/packages/backend/src/server/api/endpoints/admin/drive/files.ts +++ b/packages/backend/src/server/api/endpoints/admin/drive/files.ts @@ -8,7 +8,7 @@ import { DriveFileEntityService } from '@/core/entities/DriveFileEntityService.j export const meta = { tags: ['admin'], - requireCredential: false, + requireCredential: true, requireModerator: true, res: {