[support] Issue with D7 access permissions
Fahri Reza
dozymoe at gmail.com
Wed Jul 4 17:19:59 UTC 2012
On Mon, 2012-07-02 at 22:32 -0400, Jeff Greenberg wrote:
> In my module, I have the following for hook_menu. The problem is that
> unless I'm logged in as user 1, any attempt to enter any of the url's
> results in a 403 without ever getting to any of the callback functions
>
> function my_menu() {
> $paths = array();
> $paths['xfer/out'] = array(
> 'title' => 'Transfer transaction data',
> 'title callback' => FALSE,
> 'page callback' => '_my_xfer_out',
> 'access arguments' => TRUE,
I think this should be `'access callback' => TRUE` for debugging
purposes, or just let any visitor pass through.
I dunno what is the expected result if you pass TRUE as an argument to
user_access()--the default access callback--.
fireh.
More information about the support
mailing list