diff --git a/module/story/tao.php b/module/story/tao.php index 8ea56a955e..3c3bcf0cd7 100644 --- a/module/story/tao.php +++ b/module/story/tao.php @@ -1917,7 +1917,7 @@ class storyTao extends storyModel global $lang; $actions = array(); - if(!empty($execution) && !common::canModify('execution', $execution)) return $actions; + if(!empty($execution) && !common::canModify($execution->type == 'project' ? 'project' : 'execution', $execution)) return $actions; $tutorialMode = commonModel::isTutorialMode(); if($this->config->edition == 'ipd' && $storyType == 'story')