* Finish task #72677.

This commit is contained in:
Yagami
2022-10-20 13:22:07 +08:00
parent 382b200985
commit 646dcaec32
Regular → Executable
+5
View File
@@ -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');