Hello, i have been using this module and i have seen that your module only found if you upload the files manually. If you want use this module with files that they have been upload by file_field through an entity you need include hook_file_download_access.

Using the above hook you force that workflow pass by private_files_download_permission_file_download.

The code show like this:

function private_files_download_permission_file_download_access($file_item, $entity_type, $entity){
return TRUE;
}

Comments

earbues87 created an issue. See original summary.

zanonmark’s picture

Assigned: Unassigned » zanonmark
zanonmark’s picture

Version: 7.x-2.3 » 7.x-2.x-dev
zanonmark’s picture

Status: Active » Postponed (maintainer needs more info)

I could not reproduce the problem: files attached as file fields are managed properly by this module.

Could you please report a step-by-step example?

Thanks,
Marco

zanonmark’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)