/home/techb158/ileadtechnology.com/SSM/app/Policies/exam
NameSizeModeActions
ExamPolicy.php19080644editdlrm
OnlineExamPolicy.php31470644editdlrm
RecordPolicy.php17820644editdlrm
SchedulePolicy.php20730644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Policies/exam/RecordPolicy.php (1782B)
can('store-exam-mark'); } /** * Determine whether the user can list all the exam mark. * * @param \App\User $user * @param \App\Models\Exam\Mark $exam_mark * @return mixed */ public function list(User $user) { return $user->can('list-exam-mark'); } /** * Determine whether the user can store the exam mark. * * @param \App\User $user * @param \App\Models\Exam\Mark $exam_mark * @return mixed */ public function store(User $user) { return $user->can('store-exam-mark'); } /** * Determine whether the user can access mark report * * @param \App\User $user * @param \App\Models\Exam\Mark $exam_mark * @return mixed */ public function report(User $user) { return $user->can('access-exam-report') || $user->can('access-class-teacher-wise-exam-report'); } /** * Determine whether the user can delete the exam mark. * * @param \App\User $user * @param \App\Models\Exam\Mark $exam_mark * @return mixed */ public function delete(User $user) { return $user->can('store-exam-mark'); } }