user()->is_admin; } public function rules(): array { return [ 'file' => [ 'required', 'file', 'mimetypes:audio/mpeg,audio/ogg,audio/x-flac,audio/x-aac' ], ]; } }