Closed (fixed)
Project:
Kaltura
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2008 at 13:36 UTC
Updated:
28 Jan 2009 at 14:00 UTC
When there is the need to create a menu callback accessible to anybody, it's enough to use 'access arguments' => array(TRUE). There is no need to use a function that just returns TRUE.
Normally, the permission used in such cases is access content; therefore the code becomes 'access arguments' => array('access content').
Comments
Comment #1
avpadernoThe shorter way to define a menu callback that doesn't have a limited access is to use
This is reported in the Drupal documentation, on the line where it says
Comment #2
Zohar.Babin commentedfixed in 6.x-1.4 and 5.x-1.3