Attaching file to a decision causes crash
In the manuscript control view, attempting to add a file attachment beneath the decision field causes the app to crash:
server_1 | error: Cannot read property 'id' of undefined message=Cannot read property 'id' of undefined, locations=[line=39, column=11], path=[manuscript, reviews, 0, decisionComment, files, 0, url], code=INTERNAL_SERVER_ERROR, stacktrace=[TypeError: Cannot read property 'id' of undefined, at Rule.func (/home/node/app/config/permissions.js:280:32), at runMicrotasks (<anonymous>), at processTicksAndRejections (internal/process/task_queues.js:97:5)]
Thereafter, the affected manuscript cannot be viewed in any view (crashes the page with errors).