user(); return $user->hasPermissionTo('full-user-management') || ($user->hasPermissionTo('limited-user-management') && $this->province_id == $user->province_id); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules(): array { return [ 'enabled' => 'required|in:0,1', ]; } }