Overview
Encountering an issue when trying to publish changes: "The current user is not allowed to update the field 'changed'."
Although logged in as an Admin and the article was created by the same user, still unable to publish the changes. This issue is only with node and not with xb_page.
Request payload :
{
"node:1:en": {
"entity_type": "node",
"entity_id": "1",
"data_hash": "a73b1168aa056125",
"langcode": "en",
"owner": {
"name": "admin",
"avatar": null,
"uri": "/user/1",
"id": 1
},
"label": "Article",
"updated": 1752566801
}
}
Response :
[
{
"detail": "The current user is not allowed to update the field 'changed'.",
"source": {
"pointer": "entity_form_fields.changed"
},
"meta": {
"entity_type": "node",
"entity_id": "1",
"label": "Article",
"api_auto_save_key": "node:1:en"
}
}
]
Console error :
{
"status": "422",
"errors": {
"errors": [
{
"detail": "The current user is not allowed to update the field 'changed'.",
"source": {
"pointer": "entity_form_fields.changed"
},
"meta": {
"entity_type": "node",
"entity_id": "1",
"label": "Article",
"api_auto_save_key": "node:1:en"
}
}
]
},
"message": "The current user is not allowed to update the field 'changed'."
}
Proposed resolution
User interface changes