diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index d724b16927..fe12a4a7ad 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -239,8 +239,8 @@ $totalEstimate = 0; $canBatchEdit = common::hasPriv('story', 'batchEdit'); - $canBatchClose = common::hasPriv('story', 'batchClose'); - $canBatchChangeStage = common::hasPriv('story', 'batchChangeStage'); + $canBatchClose = (common::hasPriv('story', 'batchClose') and $storyType != 'requirement'); + $canBatchChangeStage = (common::hasPriv('story', 'batchChangeStage') and $storyType != 'requirement'); $canBatchUnlink = common::hasPriv('execution', 'batchUnlinkStory'); $canBatchToTask = (common::hasPriv('story', 'batchToTask', $checkObject) and $storyType != 'requirement'); $canBatchAssignTo = common::hasPriv($storyType, 'batchAssignTo'); @@ -365,7 +365,7 @@ echo html::commonButton($lang->close, "data-form-action='$actionLink'"); } ?> - +