MantisBT - ATutor
View Issue Details
0005600ATutorEnrollmentpublic2015-11-10 18:072016-01-01 09:59
greg 
greg 
normalminorhave not tried
closedfixed 
 
2.2.12.2.1 
SVN
95bf6db8
0005600: Enrolment manager for privileged user
The Enrolment previlege does not allow priveleged student to view enrolment list. Otherwise ok for instructors.
add authenticate(AT_PRIV_ENROLLMENT) line 290
mods/_core/enrolment/html/enrollment.inc.php

if($_SESSION['is_admin'] === true || $_SESSION['privileges'] == AT_ADMIN_PRIV_ADMIN || authenticate(AT_PRIV_ENROLLMENT)){
    $savant->display('instructor/enrolment/index.tmpl.php');
}
No tags attached.
Issue History
2015-11-10 18:07gregNew Issue
2015-11-10 18:15gregSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=209#r209
2015-11-10 18:28gregChangeset attached => ATutor master 95bf6db8
2015-11-10 18:28gregChangeset attached => ATutor master c0499f76
2015-11-10 18:29gregChangeset attached => ATutor master efee7fad
2015-11-10 18:31gregSVN Revision# => 95bf6db8
2015-11-10 18:31gregNote Added: 0007061
2015-11-10 18:31gregStatusnew => resolved
2015-11-10 18:31gregFixed in Version => 2.2.1
2015-11-10 18:31gregResolutionopen => fixed
2015-11-10 18:31gregAssigned To => greg
2016-01-01 09:59gregNote Added: 0007136
2016-01-01 09:59gregStatusresolved => closed

Notes
(0007061)
greg   
2015-11-10 18:31   
added authenticate(AT_PRIV_ENROLLMENT) before index.tmpl.php call
(0007136)
greg   
2016-01-01 09:59   
Closed for 2.2.1