You are here

function user_external_invite_permission in User External Invite 7

Same name and namespace in other branches
  1. 7.2 user_external_invite.module \user_external_invite_permission()
  2. 1.0.x user_external_invite.module \user_external_invite_permission()

Implements hook_permission().

File

./user_external_invite.module, line 33
Invites a user to site when connecting via external protocol e.g. LDAP.

Code

function user_external_invite_permission() {
  return array(
    'invite new user' => array(
      'title' => t('Invite new user'),
      'restrict access' => TRUE,
      'description' => t('Allow access to send invitation email'),
    ),
  );
}