Closed (fixed)
Project:
PROG Gallery
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
10 Feb 2009 at 05:28 UTC
Updated:
17 Mar 2009 at 07:39 UTC
I've spent a few hours this afternoon working out why my site's node access was not working. after narrowing it down, I ended up disabling this module which fixed the issue.
the problem is that this code should NOT be the module! Basically it overrides the same menu definition which is found in the core menu module. the two are similar except that core node access becomes replaced with prog_gallery_access(), thus disabling any form of node access control for the site.
$items[] = array(
'path' => 'node/'.arg(1),
'access' => prog_gallery_access('view', $node),
'type' => MENU_CALLBACK,
);
Comments
Comment #1
Jānis Bebrītis commentedis this like security update? i fixed it into cvs rightaway. thank you!
Comment #2
Jānis Bebrītis commentedComment #3
Jānis Bebrītis commentedComment #5
dvasquez commentedIs this about you say?
Comment #6
Jānis Bebrītis commentedno, thats another one, but was also fixed some time ago. ;)
if not - please open new ticket.