Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Allow author to delete their own images from Media Library › Reply To: Allow author to delete their own images from Media Library
27/04/2021 at 04:55
#7548
Vladimir
Keymaster
In general, WordPress checks delete_posts capability for images and additionally if user can delete post to which image is attached. So delete_others_posts capability may be required in that case.
If option “Force custom post types to use own user capabilities” is turned ON at URE’s Settings, then ‘delete_attachments’, ‘delete_others_attachments’ may be required the same way as with posts capabilities mentioned above.