Skip to content

Commit

Permalink
5600: added authenticate(AT_PRIV_ENROLLMENT) before index.tmpl.php call
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrgay committed Nov 10, 2015
1 parent efee7fa commit c0499f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/_core/enrolment/html/enrollment.inc.php
Expand Up @@ -287,7 +287,7 @@ function togglerowhighlight(obj, boxid) {
$savant->assign('tabs', $tabs);
$savant->assign('enrollment_result', $rows_enrollment_result);

if($_SESSION['is_admin'] === true || $_SESSION['privileges'] == AT_ADMIN_PRIV_ADMIN || authenticate(AT_PRIV_BASICLTI)){
if($_SESSION['is_admin'] === true || $_SESSION['privileges'] == AT_ADMIN_PRIV_ADMIN || authenticate(AT_PRIV_AT_PRIV_ENROLLMENT)){
$savant->display('instructor/enrolment/index.tmpl.php');
}

Expand Down

0 comments on commit c0499f7

Please sign in to comment.