Change WordPress user roles and capabilities Forums Bug Reports editors unable to edit media metadata Reply To: editors unable to edit media metadata

#2892
Vladimir
Keymaster

Hi,

When you set edit restrictions for the role or user User Role Editor applies this restriction to all post types including the ‘attachment’ one. WordPress use this post type for the Media Library items.
It’s possible to exclude some post types from this restriction scope with custom filter:

ure_restrict_edit_post_type


Try to exclude ‘attachment’ post type from edit restrictions using this filter.