function drupalchat_permission in DrupalChat 7.2
Same name and namespace in other branches
- 7 drupalchat.module \drupalchat_permission()
Implements hook_permission().
File
- ./
drupalchat.module, line 129 - 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 DrupalChat. Chat admins should be given this permission.'),
),
'moderate drupalchat' => array(
'title' => t('Moderator Drupalchat'),
'description' => t('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'),
),
);
}