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.
I'm trying to remove all download options from audiofield for anonymous users... Even though I've adjusted the permission settings to only allow admins to download files AND adjusted 'Manage Display' options to 'audio player only', anonymous users are still able to view / download the file via the download icon (arrow) located next to volume on the audio player display. I'm using D7.56 w/ AudioField Version: 7.x-1.2 and I've included some screen shots of my settings... Perhaps I'm missing something? Any thoughts / advice would be greatly appreciated. Thanks in advance!
Comment | File | Size | Author |
---|---|---|---|
#2 | cannot_remove_download_options_html5-2937806-2.patch | 1.63 KB | Daniel.Moberly |
3.png | 61.23 KB | CGLDevel | |
2.png | 14.4 KB | CGLDevel | |
1.png | 16.54 KB | CGLDevel |
Comments
Comment #2
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedAttaching a patch and changing title to reflect issue better.
Comment #3
CGLDevel CreditAttribution: CGLDevel commentedThank you for the effort @Daniel.Moberly...I tested w/ the following results:
/var/www/html/sites/all/modules/audiofield# patch < cannot_remove_download_options_html5-2937806-2.patch
patching file audiofield.players.inc
Hunk #1 FAILED at 60.
Hunk #2 FAILED at 119.
Hunk #3 FAILED at 151.
3 out of 3 hunks FAILED -- saving rejects to file audiofield.players.inc.rej
Comment #4
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedAre you patching against the dev version?
Comment #5
CGLDevel CreditAttribution: CGLDevel commentedI tried on both dev. and prod. sites (both are identical) - when they failed, I just rolled back. Thoughts?
Comment #6
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedI mean the dev version of the module - I think that's your issue.
Patch applies cleanly for me on a fresh download of the audiofield dev version
Comment #7
CGLDevel CreditAttribution: CGLDevel commentedAH!!! Yea, I was testing on AudioField Version: 7.x-1.2. After testing on version 7.x-1.x-dev, everything is working perfectly. Thank you very much for the time you spent on this, very much appreciated!
Comment #8
CGLDevel CreditAttribution: CGLDevel commentedComment #10
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedCommitted.
Comment #11
marty.true CreditAttribution: marty.true commentedJust tried a fresh install of the dev version and the download still appears, with "Audio Player Only".
Comment #12
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedJust tested in latest dev with no issues. Can you update and verify?