 .../comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php b/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
index ac641b6..49ec283 100644
--- a/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
+++ b/core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
@@ -179,8 +179,6 @@ public function viewElements(FieldItemListInterface $items, $langcode) {
       // Append comment form if the comments are open and the form is set to
       // display below the entity. Do not show the form for the print view mode.
       if ($status == CommentItemInterface::OPEN && $comment_settings['form_location'] == CommentItemInterface::FORM_BELOW && $this->viewMode != 'print') {
-        // Only show the add comment form if the user has permission.
-        $elements['#cache']['contexts'][] = 'user.roles';
         if ($this->currentUser->hasPermission('post comments')) {
           $output['comment_form'] = [
             '#lazy_builder' => ['comment.lazy_builders:renderForm', [
