guard('contact')->user()->client_id == $this->document->documentable_id || $this->document->company_id == auth()->guard('contact')->user()->company_id; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ // ]; } }