function hosting_task_permission in Hosting 7.3
Same name and namespace in other branches
- 7.4 task/hosting_task.module \hosting_task_permission()
Implements hook_permission().
File
- task/
hosting_task.module, line 414 - Web server node type is defined here.
Code
function hosting_task_permission() {
return array(
'administer tasks' => array(
'title' => t('administer tasks'),
),
'create backup task' => array(
'title' => t('create backup task'),
),
'create restore task' => array(
'title' => t('create restore task'),
),
'create disable task' => array(
'title' => t('create disable task'),
),
'create enable task' => array(
'title' => t('create enable task'),
),
'create delete task' => array(
'title' => t('create delete task'),
),
'create verify task' => array(
'title' => t('create verify task'),
),
'create lock task' => array(
'title' => t('create lock task'),
),
'create unlock task' => array(
'title' => t('create unlock task'),
),
'create login-reset task' => array(
'title' => t('create login-reset task'),
),
'create backup-delete task' => array(
'title' => t('create backup-delete task'),
),
'view own tasks' => array(
'title' => t('view own tasks'),
),
'view task' => array(
'title' => t('view task'),
),
'access task logs' => array(
'title' => t('access task logs'),
),
'retry failed tasks' => array(
'title' => t('retry failed tasks'),
),
'cancel own tasks' => array(
'title' => t('cancel own tasks'),
),
'update status of tasks' => array(
'title' => t('update status of tasks'),
),
);
}