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