Problem:
I want users, especially those with a custom role created using Toolset Access, to be able to delete images directly from the media library popup when accessing it from a CRED form. This would allow users to manage their images effectively, particularly for scenarios like replacing images with larger versions and cleaning up unnecessary files.
Solution:
In WordPress, the ability to delete images from the media library is tied to user roles and capabilities. Users with the "delete_others_posts" capability typically have this privilege. You can test and adjust capabilities in Toolset Access settings to determine which ones grant users the ability to delete images.