diff --git a/core/modules/comment/src/CommentAccessControlHandler.php b/core/modules/comment/src/CommentAccessControlHandler.php index 6e4072d..053c4f9 100644 --- a/core/modules/comment/src/CommentAccessControlHandler.php +++ b/core/modules/comment/src/CommentAccessControlHandler.php @@ -98,8 +98,9 @@ protected function checkFieldAccess($operation, FieldDefinitionInterface $field_ return AccessResult::allowedIfHasPermission($account, 'post comments')->addCacheableDependency($entity); } // We are editing an existing comment - create only fields are now read - // only. + // only, except for the bundle. $read_only_fields = array_merge($read_only_fields, $create_only_fields); + unset($read_only_fields[array_search('comment_type', $read_only_fields)]); if (in_array($field_definition->getName(), $read_only_fields, TRUE)) { return AccessResult::forbidden(); }