protected function getPermissionLevelForNewModel() { if (empty($this->calendar_id)) { return parent::getPermissionLevelForNewModel(); } else { return $this->calendar->getPermissionLevel(); } }