Show permission used I've on a drupal 6 site a custom module which generate a page, i send in that page a form.

When i try to test my form as an anonymous user, it doesn't work as i get:


  You are not authorized to access this page.


I've a hook_perm on my module and permission are activate for anonymous user, but that still doesn't work, even after "cache clear" or "rebuild permission".

So i must have another permission in conflict here that forbid me to show my form to anonymous user (as an admin, i can see it). Is there a way for me to print the "rights" that forbid me to access my form, to get a list of the permission used in a specific page?
I get an solution : 
Exposed here in : https://drupal.org/node/109157

I had to add '"access callback"   => TRUE' to my hook menu (TRUE because i want anonymous user get access to the page). 

function custom_createAccount_menu()
{
  $items["createAccount"] = array(
    "title"=&gt;t('Create an account'),
    "page callback"    =&gt; "_custom_createAccount",
    "access callback"  =&gt; TRUE,
    "access arguments" =&gt; array("access createAccount content"),
  );

  return $items;
}


and that works.

@SavaryNicolas