Support » Plugin: WordPress Media Library Folders » How to manage permission for deleting files

  • Resolved koenigr

    (@koenigr)


    Many thanks for the very helpful plugin.
    How can I avoid that users without the permission for deleting files can delete files via the Media Library Folders? I use the “User Role Editor” to control the permission of different roles. My aim is to have a role that can upload files but in no case, a user with this role shall be able to delete files. Deleting files via the normal WP Media Library is not possible but it is via the Media Library Folders.
    Resp. ideally, I’d like to hide the Media Library Folders for non-admins.
    Many thanks for your support!
    Best regards
    Reinhard

    • This topic was modified 1 month, 2 weeks ago by  koenigr.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author AlanP57

    (@alanp57)

    Looking at the WordPress documentation, I’m not finding a user capability specifically for deleting files. And I’m not finding any other method that could be used to prevent users that have access to the media library from deleting files. This would be more of a WordPress core issue. If they would add a delete files capability, then Media Library Folders Pro could use it.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.