You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have table-created articles that have a list of items.
We are using Docker version 9.7.0 of the Directus, which is running fine on the table.
We were facing a bug upgrading to the latest version of the docker.
We first saw the issue in the 9.15.0 version, and we postpone the upgrade, we tried the 9.21.1, 9.22.0, and 9.22.4 versions, also all had the same issue.
The bug is as follows.
We can open the edit interface for some rows without the problem while some rows are throwing the below error
We have checked the logs, and the error is provided below. there is no additional information on what can be the problem, just the error below.
and the error is not uniform across all tables and only 4 out of 10 items we checked randomly.
To Reproduce
To reproduce this error we can create a table with 9.7.0 and then upgrade to any of the mentioned versions.
Errors Shown
[12:07:03] GET /items/articles/164c44c7-57ad-d5fe-fade-26b6d6204b6c 403 15ms
[12:07:03.857] DEBUG: You don't have permission to access this.
err: {
"type": "ForbiddenException",
"message": "You don't have permission to access this.",
"stack":
Error: You don't have permission to access this.
at validateKeys (/directus/node_modules/directus/dist/utils/validate-keys.js:21:19)
at ItemsService.readOne (/directus/node_modules/directus/dist/services/items.js:302:42)
at /directus/node_modules/directus/dist/controllers/items.js:88:34
at /directus/node_modules/directus/dist/utils/async-handler.js:3:66
at Layer.handle [as handle_request] (/directus/node_modules/express/lib/router/layer.js:95:5)
at next (/directus/node_modules/express/lib/router/route.js:144:13)
at /directus/node_modules/directus/dist/middleware/collection-exists.js:28:12
at /directus/node_modules/directus/dist/utils/async-handler.js:3:66
at Layer.handle [as handle_request] (/directus/node_modules/express/lib/router/layer.js:95:5)
at next (/directus/node_modules/express/lib/router/route.js:144:13)
"status": 403,
"code": "FORBIDDEN",
"extensions": {}
}
[12:07:04] GET /server/info 200 18ms
What version of Directus are you using?
9.7.0
What version of Node.js are you using?
Docker version 9.7.0
What database are you using?
postgres 14
What browser are you using?
Chrome
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered:
Describe the Bug
We have table-created articles that have a list of items.
We are using Docker version 9.7.0 of the Directus, which is running fine on the table.
We were facing a bug upgrading to the latest version of the docker.
We first saw the issue in the 9.15.0 version, and we postpone the upgrade, we tried the 9.21.1, 9.22.0, and 9.22.4 versions, also all had the same issue.
The bug is as follows.
We can open the edit interface for some rows without the problem while some rows are throwing the below error
We have checked the logs, and the error is provided below. there is no additional information on what can be the problem, just the error below.
and the error is not uniform across all tables and only 4 out of 10 items we checked randomly.
To Reproduce
To reproduce this error we can create a table with 9.7.0 and then upgrade to any of the mentioned versions.
Errors Shown
[12:07:03] GET /items/articles/164c44c7-57ad-d5fe-fade-26b6d6204b6c 403 15ms
[12:07:03.857] DEBUG: You don't have permission to access this.
err: {
"type": "ForbiddenException",
"message": "You don't have permission to access this.",
"stack":
Error: You don't have permission to access this.
at validateKeys (/directus/node_modules/directus/dist/utils/validate-keys.js:21:19)
at ItemsService.readOne (/directus/node_modules/directus/dist/services/items.js:302:42)
at /directus/node_modules/directus/dist/controllers/items.js:88:34
at /directus/node_modules/directus/dist/utils/async-handler.js:3:66
at Layer.handle [as handle_request] (/directus/node_modules/express/lib/router/layer.js:95:5)
at next (/directus/node_modules/express/lib/router/route.js:144:13)
at /directus/node_modules/directus/dist/middleware/collection-exists.js:28:12
at /directus/node_modules/directus/dist/utils/async-handler.js:3:66
at Layer.handle [as handle_request] (/directus/node_modules/express/lib/router/layer.js:95:5)
at next (/directus/node_modules/express/lib/router/route.js:144:13)
"status": 403,
"code": "FORBIDDEN",
"extensions": {}
}
[12:07:04] GET /server/info 200 18ms
What version of Directus are you using?
9.7.0
What version of Node.js are you using?
Docker version 9.7.0
What database are you using?
postgres 14
What browser are you using?
Chrome
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: