Browse Source

Merge pull request #7285 from nocodb/fix/403-forbidden-msg

fix(nocodb): 403 forbidden message
pull/7293/head
Raju Udava 1 year ago committed by GitHub
parent
commit
19d78aa416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nocodb/src/middlewares/extract-ids/extract-ids.middleware.ts

2
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

Loading…
Cancel
Save