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