Media currently implements hook_file_download_access() where it checks for a media entity type and does a user access check.

As there is no longer a media entity type, this hook implementation is no longer necessary.

Comments

devin carlson’s picture

Status: Active » Needs review
StatusFileSize
new602 bytes

A patch to remove the hook implementation.

Status: Needs review » Needs work

The last submitted patch, remove-file-download-implementation-2120797-1.patch, failed testing.

dave reid’s picture

Project: File Entity (fieldable files) » D7 Media
Status: Needs work » Needs review

Fixing project.

dave reid’s picture

devin carlson’s picture

Status: Needs review » Fixed

@Dave Reid thanks for the help!

Committed #1 to Media 7.x-2.x.

Status: Fixed » Closed (fixed)

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