function drupalchat_permission in DrupalChat 7
Same name and namespace in other branches
- 7.2 drupalchat.module \drupalchat_permission()
Implements hook_permission().
File
- ./
drupalchat.module, line 111 - Module code for DrupalChat.
Code
function drupalchat_permission() {
return array(
'access drupalchat' => array(
'title' => t('Access DrupalChat'),
'description' => t('Access DrupalChat UI'),
),
'administer drupalchat' => array(
'title' => t('Administer Drupalchat'),
'description' => t('Administer and moderate DrupalChat. Chat moderators should be given this permission.'),
),
'access drupalchat own logs' => array(
'title' => t('Access own DrupalChat log'),
'description' => t('Access only self private conversation with other users'),
),
'access drupalchat all logs' => array(
'title' => t('Access all DrupalChat logs'),
'description' => t('Access conversation of all users site-wide'),
),
);
}