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

Jānis Bebrītis’s picture

is this like security update? i fixed it into cvs rightaway. thank you!

Jānis Bebrītis’s picture

Assigned: Unassigned » Jānis Bebrītis
Status: Active » Postponed (maintainer needs more info)
Jānis Bebrītis’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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

dvasquez’s picture

Is this about you say?

Fatal error: Call to undefined function drupal_set_variable() in /home/.namesake/familio1/mondofamilio.com/modules/prog_gallery/prog_gallery.install on line 46
Jānis Bebrītis’s picture

no, thats another one, but was also fixed some time ago. ;)

if not - please open new ticket.