function hosting_task_update_6004 in Hosting 7.3
Same name and namespace in other branches
- 6.2 task/hosting_task.install \hosting_task_update_6004()
- 7.4 task/hosting_task.install \hosting_task_update_6004()
Implements hook_update_N().
Add 'cancel own task' permission to 'aegir client' role
File
- task/
hosting_task.install, line 245 - Define the database schema and update functions for the hosting_task module.
Code
function hosting_task_update_6004() {
$ret = array();
install_include(array(
'user',
));
install_add_permissions(install_get_rid('aegir client'), array(
'cancel own tasks',
));
node_access_rebuild();
return $ret;
}