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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7547
    Deputy963
    Participant

    Is this possible?

    I have a user with author permissions. He uploads 20 images and then uses 10. He can’t delete the unused images.

    #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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.