function alerts_perm

7.x alerts.module alerts_perm()
6.x alerts.module alerts_perm()

File

modules/alerts/alerts.module, line 811
module file for Alerts

Code

function alerts_perm() {
  return array(
    'administer_alerts' => array(
      'title' => t('Administer Alerts Settings'),
      'description' => t('The user may configure various settings involving Alerts in the system.'),
    ),
    'can_view_alerts' => array(
      'title' => t('Can view Alerts'),
      'description' => t('The user may view alerts (only "Anyone" by default)'),
    ),
    'can_edit_alerts' => array(
      'title' => t("Can edit Alerts"),
      'description' => t("The user is allowed to change the status (open/closed), comments, etc. of alerts.  Give this
                          to users who will be directly responsible for responding to alerts."),
    ),
    'can_remove_alerts' => array(
      'title' => t("Can remove Alerts"),
      'description' => t("The user is allowed to 'remove' an alert, effectively deleting it.  It will no longer be available
                          in reports."),
    ),
    'can_view_faculty_alerts' => array(
      'title' => t('View "Faculty/Staff" Alerts'),
      'description' => t('The user is allowed to view alerts marked visible for "Faculty/Staff".'),
    ),
    'view_advisee_alerts' => array(
      'title' => t('View Advisee Alerts'),
      'description' => t('The user may view alerts from all of their advisees.  Only give to faculty/staff users.'),
    ),
    'can_view_advisee_activity_records' => array(
      'title' => t('View Activity Records for advisees'),
      'description' => t('The user is allowed to view activity records for their advisees.  Give to users who would have such advisees.'),
    ),

  );
}