You are here

function mail_edit_access in Mail Editor 7

Same name and namespace in other branches
  1. 6 mail_edit.module \mail_edit_access()

Checks the current user's access to Mail Edit's pages.

Return value

bool

1 string reference to 'mail_edit_access'
mail_edit_menu in ./mail_edit.module
Implements hook_menu().

File

./mail_edit.module, line 75
Mail Editor module.

Code

function mail_edit_access() {
  return user_access('administer mail templates') && user_access('access administration pages');
}