You are here

function notifications_perm in Notifications 6.4

Same name and namespace in other branches
  1. 5 notifications.module \notifications_perm()
  2. 6 notifications.module \notifications_perm()
  3. 6.2 notifications.module \notifications_perm()
  4. 6.3 notifications.module \notifications_perm()

Implementation of hook_perms()

This module defines the following permissions

  • administer notifications = Full access to all administration for the module
  • maintain own subscriptions = Create / delete own subscriptions
  • manage own subscriptions = Access the subscriptions management tab
  • manage all subscriptions = Administer other users subscriptions

File

./notifications.module, line 382
Notifications module

Code

function notifications_perm() {
  return array(
    'administer notifications',
    'maintain own subscriptions',
    'manage own subscriptions',
    'manage all subscriptions',
  );
}