function hosting_task_update_6004 in Hosting 6.2
Same name and namespace in other branches
- 7.4 task/hosting_task.install \hosting_task_update_6004()
- 7.3 task/hosting_task.install \hosting_task_update_6004()
Add 'cancel own task' permission to 'aegir client' role
File
- task/
hosting_task.install, line 224
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;
}