/home/techb158/ileadtechnology.com/SSM/app/Policies/academic
NameSizeModeActions
AcademicSessionPolicy.php25370644editdlrm
BatchPolicy.php19350644editdlrm
CertificatePolicy.php20900644editdlrm
ClassTeacherPolicy.php11520644editdlrm
ClassTimingPolicy.php17440644editdlrm
CoursePolicy.php19590644editdlrm
SubjectPolicy.php19830644editdlrm
SubjectTeacherPolicy.php11740644editdlrm
TimetablePolicy.php20300644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Policies/academic/BatchPolicy.php (1935B)
can('create-batch') || $user->can('edit-batch'); } /** * Determine whether the user can list all the batch. * * @param \App\User $user * @param \App\Models\Academic\Batch $batch * @return mixed */ public function list(User $user) { return $user->can('list-batch'); } /** * Determine whether the user can create batch. * * @param \App\User $user * @return mixed */ public function create(User $user) { return $user->can('create-batch'); } /** * Determine whether the user can view the batch. * * @param \App\User $user * @param \App\Models\Academic\Batch $batch * @return mixed */ public function show(User $user) { return $user->can('list-batch'); } /** * Determine whether the user can update the batch. * * @param \App\User $user * @param \App\Models\Academic\Batch $batch * @return mixed */ public function update(User $user) { return $user->can('edit-batch'); } /** * Determine whether the user can delete the batch. * * @param \App\User $user * @param \App\Models\Academic\Batch $batch * @return mixed */ public function delete(User $user) { return $user->can('delete-batch'); } }