Exemple #1
0
 /**
  * @return bool
  */
 public function isAllowed()
 {
     return $this->isEditStage() || static::getBackendUser()->workspaceCheckStageForCurrent($this->getUid()) || $this->isExecuteStage() && static::getBackendUser()->workspacePublishAccess($this->workspace->getUid());
 }