/home/techb158/ileadtechnology.com/SSM/app/Policies/academic
Edit: /home/techb158/ileadtechnology.com/SSM/app/Policies/academic/ClassTimingPolicy.php (1744B)
can('list-class-timing');
}
/**
* Determine whether the user can create class timing.
*
* @param \App\User $user
* @return mixed
*/
public function create(User $user)
{
return $user->can('create-class-timing');
}
/**
* Determine whether the user can view the class timing.
*
* @param \App\User $user
* @param \App\Models\Academic\ClassTiming $class_timing
* @return mixed
*/
public function show(User $user)
{
return $user->can('list-class-timing');
}
/**
* Determine whether the user can update the class timing.
*
* @param \App\User $user
* @param \App\Models\Academic\ClassTiming $class_timing
* @return mixed
*/
public function update(User $user)
{
return $user->can('edit-class-timing');
}
/**
* Determine whether the user can delete the class timing.
*
* @param \App\User $user
* @param \App\Models\Academic\ClassTiming $class_timing
* @return mixed
*/
public function delete(User $user)
{
return $user->can('delete-class-timing');
}
}