You are here

function hosting_task_update_6004 in Hostmaster (Aegir) 6

Add 'cancel own task' permission to 'aegir client' role

File

modules/hosting/task/hosting_task.install, line 226

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;
}