Check permission to play audio before adding to playlist

David Lesieur - October 17, 2009 - 01:31
Project:Audio
Version:6.x-1.x-dev
Component:audio_feeds
Category:bug report
Priority:normal
Assigned:Unassigned
Status:fixed
Description

Currently, audio_feeds checks the permission to download before allowing an audio node into its playlist. This seems wrong. Instead, it should probably check the permission to play the audio, as playlists are meant for playing rather than downloading. Site owners will often want to hide the download links by disabling the "Allow file downloads" option on audio nodes, but will still want those nodes to be listed in playlists.

AttachmentSize
audio-feeds-play.patch914 bytes

#1

drewish - November 25, 2009 - 19:33
Status:needs review» fixed

seems logical. committed to HEAD.

 
 

Drupal is a registered trademark of Dries Buytaert.