As I understand for a menu access argument I must specify a permission.
So, let say there is a permission for "Profile: Create new content" that is enabled for authenticated users, and I would like to use this as my menu access check.
This is how I put it in my menu callback?
function mymodule_menu() {
$items = array();
$items['play'] = array(
'title' => 'Play',
'page callback' => 'play',
'access arguments' => array('Profile: Create new content'),
'type' => MENU_CALLBACK
);
return $items;
}
This does not work though, so how do I get the permission name used by the system?