How to specify a permission as an access argument? 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' =&gt; 'Play',
    'page callback' =&gt; 'play',
    'access arguments' =&gt; array('Profile: Create new content'),
    'type' =&gt; MENU_CALLBACK
  );

  return $items;
}


This does not work though, so how do I get the permission name used by the system?
This is based on Drupal 6 but I doubt it has changed.

access arguments returns true if the user has the permission specified in the array, however, it does not make sure to create that permission if it doesn't exist. If you want to use a module specific permission you need to define it using hook_permission (hook_perm for D6). If there already exists a permission that will suit you needs you can simply call that instead, though.