From 193f119b6bc56eafcbd7e632ad63c328aea7c028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=C9=A8=D5=BC=C9=A2=D3=84=D5=A1=D6=85=D5=BC=C9=A2?= Date: Sat, 23 Dec 2023 14:54:21 +0800 Subject: [PATCH] fix(nocodb): 403 forbidden message --- .../src/middlewares/extract-ids/extract-ids.middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/middlewares/extract-ids/extract-ids.middleware.ts b/packages/nocodb/src/middlewares/extract-ids/extract-ids.middleware.ts index f9f2133336..e0a6428c50 100644 --- a/packages/nocodb/src/middlewares/extract-ids/extract-ids.middleware.ts +++ b/packages/nocodb/src/middlewares/extract-ids/extract-ids.middleware.ts @@ -222,7 +222,7 @@ export class AclMiddleware implements NestInterceptor { : getUserRoleForScope(req.user, scope); if (!userScopeRole) { - NcError.forbidden('Unauthorized access'); + NcError.forbidden("You don't have permission to access this resource"); } // assign owner role to super admin for all bases