Location: PHPKode > projects > CMS Admin > www/include/permissions.php
<?php

define("STUDENT", 3);
define("TA", 2);
define("INSTRUCTOR", 1);
define("ADMIN", 0);

class Permissions
{
	public $permissions = array(
		'modifyCourses' => ADMIN,
		'modifyCourse' => INSTRUCTOR,
		'modifyAssignments' => INSTRUCTOR,
		'modifyContent' => INSTRUCTOR,
		'modifyGrades' => INSTRUCTOR,
		'modifyGroups' => INSTRUCTOR,
		'modifyUsers' => INSTRUCTOR,
		'viewAssignments' => STUDENT,
		'viewContent' => STUDENT,
		'viewGrades' => STUDENT,
		'adminMain' => INSTRUCTOR
	);
}
?>
Return current item: CMS Admin