Custom module is not showing up for regular user This is what Drupal returns if URL defined from the module is accessed:


  Access denied
  You are not authorized to access this page.


THe permissions are all checked for authorized, and anonymous users.

The implementation of hook_menu() is the following.

function qarena_menu() {
  $items = array();

  // This determines the path used to show the form and also makes a menu entry
  // This first path is for the entry form
  $items['qarena'] = array(
    'title' =&gt; t('QArena'),
    'page callback' =&gt; 'qarena_display_page',
    // drupal_get_form, registers the given form in drupal.
    'access arguments' =&gt; array('ask question'),
  );

  return $items;
}
user_access(), the access handler used by default from Drupal when no other access handler has been set, returns TRUE (the user has access to the menu) only when the permission string is one defined from a module, and the user has that permission.

If "ask question" is not a permission defined from any module with hook_permission() (Drupal 7 or higher), or hook_perm() (Drupal 6 or lower), then you will get an access denied error. 

Once you are sure a module (including the one you are developing) defines the permission you want to use, be sure the same permission is assigned to any of the roles the currently logged-in user has. For example, if the user has the role of editor, then the permission you are using needs to be assigned to the editor role, or to the authenticated user role.