From 646dcaec32504da53a0296d053ccf8d105a29906 Mon Sep 17 00:00:00 2001 From: Yagami Date: Thu, 20 Oct 2022 13:22:07 +0800 Subject: [PATCH] * Finish task #72677. --- module/project/control.php | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 module/project/control.php diff --git a/module/project/control.php b/module/project/control.php old mode 100644 new mode 100755 index 6005ee18f3..6340f54eaa --- a/module/project/control.php +++ b/module/project/control.php @@ -1561,6 +1561,11 @@ class project extends control if($project->model == 'scrum') unset($this->lang->resource->projectstory->track); if(!$project->multiple) $this->config->project->includedPriv = $this->config->project->noSprintPriv; + if(!$project->multiple and !$project->hasProduct) + { + unset($this->lang->resource->story->batchChangePlan); + unset($this->lang->resource->execution->importplanstories); + } $this->view->project = $project; $this->lang->resource = $this->project->processProjectPrivs($project->multiple ? $project->model : 'noSprint');