From 2fadc69fa3b13802cfef18ebf8b1cf70c308458d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Fri, 10 Sep 2021 11:34:10 +0800 Subject: [PATCH] * fix bug #15083,15079. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 09e4c5dc5e..8626205f41 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -63,7 +63,7 @@ class executionModel extends model */ public function setMenu($executionID, $buildID = 0, $extra = '') { - if(!$this->app->user->admin and strpos(",{$this->app->user->view->sprints},", ",$executionID,") === false) die(js::error($this->lang->execution->accessDenied) . js::locate('back')); + if(!$this->app->user->admin and strpos(",{$this->app->user->view->sprints},", ",$executionID,") === false and !defined('TUTORIAL')) die(js::error($this->lang->execution->accessDenied) . js::locate('back')); $executions = $this->loadModel('execution')->getPairs(0, 'all', 'nocode'); if(!$executionID and $this->session->execution) $executionID = $this->session->execution;