I am programming a module that I want 2 different types of users to have access to.

However, I'm learning that I can't do this: 'access arguments' => array('permission1', 'permission2'),

Any suggestions on how to accomplish this?

Comments

drupalnesia’s picture

Its supports more than 1 and use array format to pass value, see: http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...

"access arguments": An array of arguments to pass to the access callback function, with path component substitution as described above. If the access callback is inherited (see above), the access arguments will be inherited with it, unless overridden in the child menu item.