Trying to access modules page callback while authenticated I have a module below that will only show "hello world" when I am an administrator. I would also like "hello world" to display when I an authenticate user but right now all I am getting is you are not authorised. I have set  mymenuitem as the home page and I am using Drupal 7.

 function mymenuitem_menu() {
  $items = array();
  $items['mymenuitem'] = array(
    'title' =&gt; 'mymodule',
    'description' =&gt; 'my menu access issue',
    'page callback' =&gt; 'mymodule_homepage',
    'access arguments' =&gt; array('access mymodule homepage'),
    'type' =&gt; MENU_LOCAL_TASK,
  );

  return $items;
}


function mymodule_homepage(){
  drupal_set_title(t('menu system'));
  return "hello world";
}


How can I achieve this?
Make sure you define your new permission using Drupal 7's hook_permission().
Grant your new permission to authenticated user here: /admin/people/permissions/list


Try this:

function mymodule_permission() {
  return array(
    'access mymodule homepage' =&gt; array(
      'title' =&gt; t('Access My Module homepage'),
      'description' =&gt; t('View My Module homepage.'),
    )
  );
}