You are here

function mail_debugger_common_permission in Mail Debugger 7.3

Implement hook_permission(); Define permission for using the module

Return value

type

File

modules/common/mail_debugger_common.module, line 75

Code

function mail_debugger_common_permission() {
  return array(
    'use mail debugger basic' => array(
      'title' => t('Use mail debugger basic'),
      // Risk: like spamming users as if it was from this site
      'restrict access' => TRUE,
    ),
    'use mail debugger user' => array(
      'title' => t('Use mail debugger user'),
      // Risk: like sending confusing mails to site members
      'restrict access' => TRUE,
    ),
  );
}