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?
- 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
- 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
- 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?
- 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
- 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
- how to assign more permission to wordpress author
- The delete_posts capability?
- Capabilites not working [closed]
- 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
- Are User Levels Still Currently Used?
- Adding Capabilities to a WordPress User Account
- Adding an additional role to an Administrator
- 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
- 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?
- 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?
- How to get a users list by who created them?
- 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
- 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
- Create sub-administrator role that can do everything except use or see the code editor
- How to hide plugin options for editors via functions.php
- User role editor – Add download files capability
- Adding plugin editing capability for Author
- Could we know who published a post on WordPress?
- Why can my subscribers create new posts for review?
- Custom Role read_private_posts Not Working
- Disabled delete_others_posts if post is from admin
- Admin user name not showing up in author dropdown
- Why “Mine” is the default view when adding ‘capability_type’ in register_post_type
- See which user role / capability is needed to use a plugin
- Block access to plugins.php for custom role
- How to restrict subscriber editing other posts but read specific posts in backend
- show the author’s role along with the name in the single.php
- Role and Capabilities: How do I allow user role to access theme options without enabling ‘manage_options’?
- Remove dashboard links from wordpress
- Best practices to handle multilpe roles and capabilities?
- Enable plugins for a specific user role
- Trying to get new role to have edit permissions for custom content type
- Why does user_can return false for a capability during plugin deactivation?
- Need to create admin user without capability to create user
- Grant access to admin menu?
- Permission to change post Author
- New folder and file permissions are not correct
- current_user_can() returning true for capability when the user and role do not have the capability