hasPermissionTo('term.viewAny'); } /** * Determine whether the user can view the model. */ public function view(User $user, Term $model): bool { return $user->hasPermissionTo('term.view'); } /** * Determine whether the user can create models. */ public function create(User $user): bool { return $user->hasPermissionTo('term.create'); } /** * Determine whether the user can update the model. */ public function update(User $user, Term $model): bool { return $user->hasPermissionTo('term.update'); } /** * Determine whether the user can delete the model. */ public function delete(User $user, Term $model): bool { return $user->hasPermissionTo('term.delete'); } }