Skip to content

Commit

Permalink
Staff: change the Enrolment tab permission to use New Student/Left St…
Browse files Browse the repository at this point in the history
…udent
  • Loading branch information
SKuipers committed Sep 16, 2022
1 parent 2492e08 commit 52c39a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/Dashboard/StaffDashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ protected function renderDashboard()
}

// Enrolment tab
if (isActionAccessible($guid, $connection2, '/modules/Students/student_view.php')) {
if (isActionAccessible($guid, $connection2, '/modules/Admissions/report_students_left.php') || isActionAccessible($guid, $connection2, '/modules/Admissions/report_students_new.php')) {
$return .= "<div id='tabs".$tabCount."'>";
$return .= $this->enrolmentTable->getOutput();
$return .= '</div>';
Expand Down

0 comments on commit 52c39a7

Please sign in to comment.