Closed (fixed)
Project:
Path Access
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2006 at 15:52 UTC
Updated:
9 Feb 2008 at 18:18 UTC
Thanks for the very useful module!
Windows media player is embed on various pages. Drupal has been set to handle files as private. The playing of the videos works fine in IE, however in FF access is not given to the video file.
The problem is in function path_access_init() . The $user is not recognised correctly ($user->uid = 0 even when the user is logged in) and the function ends up calling drupal_access_denied().
Comments
Comment #1
Leeteq commentedI am about to try this module, but this issue makes me hestitate. Can anyone provide a code sample of what can be changed in the module to fix this? From the description it sounds like only one line needs a small change.
Comment #2
buddaIf somebody can provide a patch to resolve this problem I am happy to commit it.
I've got no time at present to investigate further myself. Sorry.
Comment #3
buddaI cannot recreate this in Drupal 4 (and the hook_init() code is the same in the 4.7 module too). If anybody has any ideas please re-open the issue.