user()->can('edit', $this->project); } public function rules() { return []; } protected function prepareForValidation() { $input = $this->decodePrimaryKeys($this->all()); $this->replace($input); } }