Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just an FIY, this module doesn't work with downloadfile
Simple to reproduce:
Everything works fine, enable downloadfile, and the permissions set with this module are ignored.
This however does work with a similar module to downloadfile, and that module is File Force Download
Comments
Comment #1
nerdacus CreditAttribution: nerdacus commentedMore of an issue with DownloadFile not calling file_download_headers() to see if any other modules object to serving the file.
So, I wrote a patch: #2367547: Doesn't work with private files download permission module.
Comment #2
zanonmark CreditAttribution: zanonmark commentedThanks.