function calendar_perm

6.x calendar.module calendar_perm()

File

modules/calendar/calendar.module, line 751

Code

function calendar_perm() {
  $arr = array();

  $arr ['can_accept_appointments'] = array(
    'title' => t("Can accept appointments"),
    'description' => t("Give to users who are allowed to accept appointments from students.  For example, only give this permission to advisors, professors, etc."),
  );

  $arr ['can_schedule_appointments_with_staff'] = array(
    'title' => t("Can schedule appointments with faculty/staff"),
    'description' => t("Give to users who are allowed to schedule appointments with faculty/staff.  Ex: basically all students."),
  );


  $arr ['can_cancel_own_appointments'] = array(
    'title' => t("Can cancel own appointments"),
    'description' => t("The user can cancel appointments which involve themselves.  Give to both students and faculty/staff."),
  );


  $arr ['administer_appointment_settings'] = array(
    'title' => t("Administer appointment settings"),
    'description' => t("The user can configure the global appointment settings within FlightPath.  Only grant to trusted users."),
  );



  return $arr;
}