This is a patch for 7.x with which files are accessible only by users who have access to premium nodes as in #1190148: Patch to prevent downloading attachments on premium nodes. This is basically copy-past from file_file_download. Please note that this patch checks nopremium_access_full_content only hence other permission issues will be checked by file_file_download having the redundant code with this patch since this patch is based on file_file_download.

CommentFileSizeAuthor
nopremium_file.patch2.09 KBjosaku

Comments

anrikun’s picture

Status: Active » Fixed

Committed to 7.x-1.x with minor changes. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.