AppStateESS/InternshipInventory

View on GitHub
boost/permission.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * @author Robert Bost <bostrt at tux dot appstate dot edu>
 */

$use_permissions  = true;

$permissions['delete_dept']             = _('Add/Edit/Hide/Delete departments.');
$permissions['edit_dept']               = _('Add/Edit/Hide departments.');
$permissions['edit_states']             = _('Add/Edit/Hide states.');
$permissions['edit_level']              = _('Add/Edit levels.');
$permissions['affiliation_agreement']   = _('Add/Edit Affiliation Agreements');
$permissions['edit_courses']            = _('Edit Standard Internship Course List.');
$permissions['change_term']             = _('Change the Internships Term.');

// Permissions for workflow transitions
$permissions['create_internship']= _('Create Internships');
$permissions['sig_auth_approve'] = _('Signature Authority Approve');
$permissions['dean_approve']     = _('Dean Approve');
$permissions['register']         = _('Register');
$permissions['cancel']           = _('Cancel');
$permissions['reinstate']        = _('Reinstate');

// Special workflow transitions
$permissions['oied_certify']         = _('OIED Certification');
$permissions['distance_ed_register'] = _('Distance Ed Registration');
$permissions['grad_school_approve']  = _('Graduate School Approval');
$permissions['special_host']         = _('Special Host');

// Access to all departments
$permissions['all_departments']      = _('Access All Departments');