You are here

function rocket_chat_permission in Rocket.Chat 7

Same name and namespace in other branches
  1. 7.2 rocket_chat.module \rocket_chat_permission()

Implements hook_permission().

See also

\hook_permission()

File

./rocket_chat.module, line 75
Rocket.Chat Livechat Module.

Code

function rocket_chat_permission() {
  return array(
    'rocket_chat admin' => array(
      'title' => t('Access Rocket.Chat configuration menu'),
      'description' => t('Be able to set the Rocket.Chat Server Settings.'),
      'restrict access' => TRUE,
    ),
  );
}