Allowing comment editing in Drupal 8
By default, once a comment is submitted in Drupal 8, it can only be edited by administrators. You may want to give your members the ability to edit their own comments in case they make any errors. Follow along with the instructions below to learn how to allow editing permissions for user comments.
How to allow users to edit their own comments
- Log into your Drupal 8 admin interface.
- Look to the top menu bar on the page and click on the Menu tab.
- From the second menu bar, click on the People option.
- Now you will see a list of all current members for your site. Looking to the upper right corner of the page you will see two tabs. Click on the Permissions tab.
- From the Permissions screen, look to the Comment section and check the checkboxes for the user groups you want to allow to edit their comments for the Edit one comments permission. By default, only the Administrator group has this ability. In this example, we are giving the Authenticated User group this ability as well.
- Once you have selected the user groups you want to allow editing, click on the Save Permissions button at the bottom of the page to activate the permission change. Now, when a registered user adds a comment, they will also have the ability to edit that comment. Below is an example of a comment created by a registered user both before and after the editing permissions are assigned. You can see that the Edit link has been added to the comment area.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!