Feature(s) impacted
I receive 403 errors on each model on TEST env (ADMIN role). But on Prod env all is working. Also other team members also receive 403 errors on creation (ADMIN role).
Failure Logs
==================================
2024-02-20 13:56:51.199
at async cors (/app/node_modules/@koa/cors/index.js:109:16)
2024-02-20 13:56:51.199
at async bodyParser (/app/node_modules/koa-bodyparser/index.js:78:5)
2024-02-20 13:56:51.199
at async ErrorHandling.errorHandler (/app/node_modules/@forestadmin/agent/dist/routes/system/error-handling.js:20:13)
2024-02-20 13:56:51.199
at async Logger.logger (/app/node_modules/@forestadmin/agent/dist/routes/system/logger.js:20:13)
2024-02-20 13:56:51.199
at async CountRoute.handleCount (/app/node_modules/@forestadmin/agent/dist/routes/access/count.js:15:9)
2024-02-20 13:56:51.199
at async AuthorizationService.assertCanBrowse (/app/node_modules/@forestadmin/agent/dist/services/authorization/authorization.js:15:9)
2024-02-20 13:56:51.199
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-02-20 13:56:51.199
at AuthorizationService.assertCanOnCollection (/app/node_modules/@forestadmin/agent/dist/services/authorization/authorization.js:40:26)
2024-02-20 13:56:51.199
at Object.throw (/app/node_modules/koa/lib/context.js:97:11)
2024-02-20 13:56:51.199
ForbiddenError: Forbidden
2024-02-20 13:56:51.199
2024-02-20 13:56:51.199
Forbidden
Context
- Project name: Seaya
- Team name: Seaya
- Environment name: TEST
- Agent (forest package) name & version: [Widget Name & Version]:
“@forestadmin/agent”: “^1.36.11”,
“@forestadmin/datasource-sequelize”: “^1.5.26”,
“@forestadmin/datasource-sql”: “^1.7.43”,
“@forestadmin/datasource-toolkit”: “^1.29.1”,
“forest-express-sequelize”: “^9.3.9”, - Database type: PostgreSQL
- Recent changes made on your end if any: Changing the Editor role to disable creation