Add support for private files

mdixoncm - October 17, 2008 - 06:19
Project:Premium
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

This little patch adds an implementation of hook_file_download, so (if you are using private files) attached files will only be available to users with premium access to the node.

This works quite nicely with the private_upload module

AttachmentSize
add_file_download_hook.patch1.02 KB
 
 

Drupal is a registered trademark of Dries Buytaert.