You are here

function invite_permission in Invite 7.2

Same name and namespace in other branches
  1. 7.4 invite.module \invite_permission()

Implements hook_permission().

File

./invite.module, line 88
Allows your users to send and track invitations to join your site.

Code

function invite_permission() {
  return array(
    'administer invitations' => array(
      'title' => t('Administer invitations'),
      'description' => t('Administer all invitations'),
    ),
    'send invitations' => array(
      'title' => t('Send invitations'),
      'description' => t('Send invitations to other users.'),
    ),
    'send mass invitations' => array(
      'title' => t('Send mass invitations'),
      'description' => t('Send invitations to multiple recipients.'),
    ),
    'track invitations' => array(
      'title' => t('Track invitations'),
      'description' => t('Track sent invitations.'),
    ),
    'withdraw own invitations' => array(
      'title' => t('Withdraw own invitations'),
      'description' => t('Withdraw own invitations.'),
    ),
    'withdraw own accepted invitations' => array(
      'title' => t('Withdraw own accepted invitations'),
      'description' => t('Withdraw own invitations that have already been accepted.'),
    ),
  );
}