<?php
 namespace App\Http\Requests\Admin; use App\Models\AiTrainingDataset; use Illuminate\Foundation\Http\FormRequest; class AiTrainingDatasetCreateRequest extends FormRequest { public function authorize(): bool { return $this->user()->can('create', AiTrainingDataset::class); } public function rules(): array { return [ ]; } } 