diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml index f2e2b18809..2faae141df 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event.yml @@ -243,7 +243,7 @@ resourceFields: enhancer: id: '' field_last_saved_by_an_editor: - disabled: true + disabled: false fieldName: field_last_saved_by_an_editor publicName: field_last_saved_by_an_editor enhancer: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml index 531d9a4b83..d9dd6e810d 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--event_listing.yml @@ -189,7 +189,7 @@ resourceFields: enhancer: id: '' field_last_saved_by_an_editor: - disabled: true + disabled: false fieldName: field_last_saved_by_an_editor publicName: field_last_saved_by_an_editor enhancer: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml index 52434b307b..2ced31d564 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--news_story.yml @@ -197,7 +197,7 @@ resourceFields: enhancer: id: '' field_last_saved_by_an_editor: - disabled: true + disabled: false fieldName: field_last_saved_by_an_editor publicName: field_last_saved_by_an_editor enhancer: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml index 8169f04917..3b8a076fdc 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--person_profile.yml @@ -207,7 +207,7 @@ resourceFields: enhancer: id: '' field_last_saved_by_an_editor: - disabled: true + disabled: false fieldName: field_last_saved_by_an_editor publicName: field_last_saved_by_an_editor enhancer: diff --git a/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml b/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml index deb281f67b..e48b291e0d 100644 --- a/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml +++ b/config/sync/jsonapi_extras.jsonapi_resource_config.node--story_listing.yml @@ -183,7 +183,7 @@ resourceFields: enhancer: id: '' field_last_saved_by_an_editor: - disabled: true + disabled: false fieldName: field_last_saved_by_an_editor publicName: field_last_saved_by_an_editor enhancer: diff --git a/tests/phpunit/API/JsonApiRequestTest.php b/tests/phpunit/API/JsonApiRequestTest.php index f259ee52b8..80c324ba65 100644 --- a/tests/phpunit/API/JsonApiRequestTest.php +++ b/tests/phpunit/API/JsonApiRequestTest.php @@ -21,6 +21,7 @@ public function routeProvider() { ['/jsonapi/node/event'], ['/jsonapi/node/event_listing'], ['/jsonapi/node/news_story'], + ['/jsonapi/node/person_profile'], ['/jsonapi/node/story_listing'], ]; } @@ -48,7 +49,6 @@ public function testJsonApiResponseExcludesFields($route) { 'menu_link', 'content_translation_source', 'content_translation_outdate', - 'field_last_saved_by_an_editor', ]; $user = $this->createUser();