When checking acces file permission we should always allow the admin to download files.

Something like that :

135 function file_access_file_download($filepath) {
136   global $user;
137 
138   // If user is admin
139   if($user->uid == 1) {
140     return;
141   }

Comments

mattman’s picture

Status: Active » Closed (won't fix)

I'm closing this one for now. If someone still needs this in the D6 version then please reopen and I'll put it in.

The D7 version does allow the admin to download provided they've got the Bypass access permissions on for nodes.