You are here

function raven_permission in Raven: Sentry Integration 7.2

Same name and namespace in other branches
  1. 7.4 raven.module \raven_permission()
  2. 7 raven.module \raven_permission()
  3. 7.3 raven.module \raven_permission()

Implements hook_permission().

File

./raven.module, line 19
Allows to track errors to Sentry server.

Code

function raven_permission() {
  return array(
    'send javascript errors to sentry' => array(
      'title' => t('Send JavaScript errors to Sentry'),
      'description' => t("For users with this permission, JavaScript errors will be captured and submitted to the Sentry server's public DSN."),
    ),
  );
}