• I have a custom post type defined with a custom capability_type. The user role that has, essentially, contributor level capabilities for this post type can upload files but not edit those uploaded files, even if authored by them.

    The user has upload_files and edit_files capabilities, but it seems the edit media capability is tied to edit_posts (which makes sense, since the media post type is a post). However, granting edit_posts to the user allows them to edit the posts post type and activates those menus in the backend, which is something I don’t want them to be able to do.

    Is there someway to extract the media updating capability of edit_media without giving them access to posts?

  • The topic ‘Custom User Role can upload files, but not edit’ is closed to new replies.