Ordinarily WordPress only allows Editors and Administrators to moderate comments, and both roles require those capabilities.
This page from the Codex does an excellent job of explaining roles and capabilities:
https://wordpress.org/support/article/roles-and-capabilities/
You can manually create a new Role and assign to it only the capabilities you want the Role to have, so that those you designate to moderate comments can, or not, have the ability to create/edit/publish posts.
Alternatively there are several great plugins that allow you to customize capabilities based on Role, as well as add new Roles, etc. I would encourage you to try one in order to tighten up who can do what.
One that I’ve used and really like is this one:
Related Posts:
- Capability for allowing user to post own comments without moderation
- How to change the email notification recipient (user) for new comments?
- Users with custom roles can’t read each other’s comments
- Allow contributors to moderate comments comments on posts they write
- Why the capability ‘activate_plugins’ is needed to allow a role to see all posts/pages/comments?
- 3 moderators to approve comment
- How to auto-approve internal pingbacks?
- Exclude internal links from comment moderation?
- Multiple Comment Moderators and Notifications
- how to make author to write comment on only his own posts?
- Add a drop down list to comment form?
- Prevent Contributor to show comment list
- Add delete, approve, spam Links to Comments
- Expanding the allowed HTML tags in comments?
- Get the number of comments awaiting moderation
- How to allow a particular role like Contributor be able to only view pending comments and approve them?
- edit_comment capability for subscriber
- Community Moderation Plugin for Comments [closed]
- Hold comments for moderation only if user is not logged in
- Why are authors allowed to approve comments on their posts? How to revoke privilege?
- show if comment is in moderation
- Reject Comments Based on Author Email
- Author can only see own post comment and can moderate
- How to moderate (manually approve) comments of a specific (registered) User
- Comment Moderation and CDN Caching
- WordPress comments – how to check if comment still needs to be approved?
- Show comments of a user post only when they are login
- Why does akismet prevent jetpack comments from appearing in my moderation queue? [closed]
- Grant a person permission to moderate all comments on a blog without giving them the ability to edit other peoples post
- How Do I Allow Comment Moderation for Other User’s Posts?
- Only Allow post author and “Premium” Role user to comment
- Sending comment notifications to different recipients depending on taxonomy terms
- Show image next to the comment author if have certain role
- Is there a way to only allow certain user ranks to comment on a post
- Who approved a comment, to show up in dashboard
- Allow comments only for custom post type
- Can I allow registered users to comment without being logged in or having to be approved?
- Showing different images depending on user role
- Comment moderation
- Disable comment moderation in multisite
- Listing comment author role code problem
- Comment Blacklist
- Embed a page within WordPress dashboard?
- comment awaiting moderation
- Customize the new comment notifications sent to the post author after the comment is approved
- Hide comments from admin comments.php that user can’t edit or manage
- How do I comment out a block of tags in XML?
- R: Comment out block of code
- Getting a List of Currently Available Roles on a WordPress Site?
- Editor can create any new user except administrator
- Why do I get comment spam even with Akismet and Captcha?
- What tools are available for managing/writing to WordPress? [closed]
- Is there way to rename user role name without plugin?
- How to create a clone role in wordpress
- Possible to hide Custom Post Type UI/Menu from specific User Roles?
- How to rearrange fields in comment_form()
- setting comments off as default for pages and custom post types?
- How to add a Capability to a User Role?
- Select subscriber as author of post in admin panel?
- How can I get a list of users by their role?
- Remove Ability for Other Users to View Administrator in User List?
- How do I make a draft post accessible to everyone?
- Is it possible to pull comments from facebook into your blog?
- Reset default roles and capabilities
- What action should I hook into when adding roles and capabilities?
- add_role() run only once?
- Custom post type role permissions won’t let me read
- what’s the meaning of the field wp_capabilities in table wp_usermeta
- Filtering the Admin Comments List to Show Only Comments from the Current User?
- Allowing custom role access to custom post type in back end
- Non-threaded comment replies with link to original comment
- WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins
- Approve comment hook?
- Commenting in user profile page?
- How to change “You must be logged in to post a comment.”
- Groups of capabilities: users with multiple roles?
- comment_post_ID 0 (cannot remove from dashboard)
- User-edit role setting distinct from wp_capabilities? [closed]
- Disable comments on all posts/pages
- How do I delete all comments from a specific old blog post?
- Removing the “Website” Field from Comments and Replies?
- What do unfiltered_html and unfiltered_upload actually filter?
- Stop WordPress redirecting comment-page-1 to the post page?
- Allow Editors to edit pending posts but not draft ones
- What’s the difference between Role and Meta capabilities; When to use map_meta_cap() filter
- Importing old Disqus comments into WordPress
- How to add a class to the comment submit button?
- How to wrap submit button of comment form with div
- Temporary capability for current_user_can()
- Allow user to “edit_others_posts” to save only, not publish
- How to enable comments for pending and draft posts?
- Using WordPress’ WYSIWYG for comments
- Enable Submit Comment Without Page Reload (Using Ajax)?
- What for is the table “wp_commentmeta” exactly?
- Getting Post Comments for post ID using WP_Query() and a Custom Loop?
- Add option to disable comments on a per posts basis?
- Allow roles below admin to add subscribers only
- How to let contributors to create a new revision(draft) editing their published posts
- Resetting comment count
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?