From quick look at code the likely permissions check for that is edit_comment
capability in edit_comment()
function.
Your options to remove that capability roughly are:
- customize the role with plugin, for example Members
- customize role with code, probably using remove cap functionality
- filter thiungs around
map_meta_cap
oruser_has_cap
if you need to achieve more elaborate logic (for example denying permission in context of specific comment, rather than comments in general)
PS not sure if this will properly omit related parts of interface, might need to deal with that separately
Related Posts:
- Hide specific admin users’ posts
- Allow users to publish child pages of the pages they have access to edit
- How to check if a role has a specific capability
- How to remove sticky post capability for a specific user role?
- How can I have different groups of editors only allowed to edit certain parent+subpages?
- Programmatically allow a non-author to edit a post based custom meta field
- Can you set a role as author?
- Allow an editor to change the author
- Hiding custom theme functionality using capabilities
- Force “submit for review” on update?
- Author capabilities: Deleting comments on their own published posts
- How might I enable a user to view Draft pages from a different Author, without the ability to edit?
- Is there way to rename user role name without plugin?
- How to create a clone role in wordpress
- 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?
- How do I make a draft post accessible to everyone?
- Reset default roles and capabilities
- add_role() run only once?
- What do unfiltered_html and unfiltered_upload actually filter?
- Temporary capability for current_user_can()
- Allow roles below admin to add subscribers only
- How to let contributors to create a new revision(draft) editing their published posts
- Add Custom User Capabilities Before or After the Custom User Role has Been Added?
- Disable posts, only allow to edit existing pages, not create new ones (create_posts)
- Temporarily give ‘manage_options’ capability
- How to force listing contributors in authors dropdown menu
- Allow authors to edit only certain users
- How to update role capabilities
- How to filter the role selector?
- Do custom user roles have any default capabilities?
- How to programmatically add a user to a role?
- how to add custom user capabilities using add_user_meta or something else?
- Allow user to Publish, but not Edit or Delete
- Email notification for editors only
- Shold I manually add ‘cap’ to admin role ?
- How to make an author archive only for certain user role and show related CPT
- New Roles and Capabilities in WordPress
- Why is wp-login redirecting to the home page when I use this function?
- Allow contributor to view own scheduled post
- Editor and contributor roles not correct after adding function
- How to prevent users with “edit_others_posts” capability from editing admin posts
- Is there a simple way to manage capabilities per user?
- Author Role – Allow editing of Gallery images
- What is the difference between “create_users” and “add_users” capabilities?
- How to get all users with Author role capabilities?
- Prevent author role from editing all posts in custom post type?
- Locking Down WordPress Application Password Permissions / Capabilities
- Prevent custom user role to add new pages
- Allow user to edit specific user with meta key using map_meta_cap
- Let new user role to ‘edit_others_posts’ of other user role, not of its own type
- how to assign more permission to wordpress author
- The delete_posts capability?
- How to restrict access to specific pages on the back-end?
- Capabilites not working [closed]
- add_menu_page() for more than one user role
- current_user_can Not Always Working Properly
- WordPress missing user roles on local dev machine. Live site works fine
- Prevent Editors from Editing/Deleting Admin Accounts
- wordpress editor role remove all but ‘menus’ in appearance menu
- Where are the WordPress capabilities stored?
- Are User Levels Still Currently Used?
- Adding Capabilities to a WordPress User Account
- Adding an additional role to an Administrator
- Custom user roles for access to specific parts of the site
- Roles for Custom Post Types
- Pending status by default for a specific role
- How do you set up a WordPress blog with multiple authors to allow something like StackExchange’s “community wiki” feature?
- How do I restrict user access to plugins?
- Applying roles to an admin sub-menu (eg Appearance -> Menus)
- My subscriber has the “edit comment” capability but can’t edit comment
- Show metabox for a special role
- allow non logged in user to upload images in media library
- User Role Capabilities for WordPress Gutenberg Blocks
- Subscriber (with read permissions) cannot view Private posts
- How can I add a custom role capability to use in a custom plugin?
- bbPress plugin moderator roles
- Allowing user to edit posts based on the post status
- Custom capabilities to add, edit, remove users of a particular role only?
- Stop users of author role from editing already pending posts
- add_role user capability not working
- Purpose of Adding Capability to Role But Not Grant?
- Limit a user to have access to only specified pages?
- How can I promote a user to a network administrator?
- how to remove some permissions from a shop “manager role” in woocommmerce?
- Reset Roles (or undo role changes on theme change)
- How to get a users list by who created them?
- Authorize users for specific pages and/or categories
- Custom Capabilities for CPT and Problem with current_user_can()
- Custom wordpress admin page/url “You do not have sufficient permissions to access this page.”
- user_can() not working for comment authors
- Which capabilities are available in Gravity Forms Salesforce plugin? [closed]
- custom plugin not visible to some user roles
- Select other roles as custom post authors
- How to write conditions based on user capabilities not on user role?
- What Capability is required to let a role RUN code in Edit Theme?
- Want to know parameters that can be passed to user_can() for access control by user capabilities
- User Capabilities are not available in WP REST permission callback?
- Create sub-administrator role that can do everything except use or see the code editor