* Split the checkAccess method.

This commit is contained in:
tianshujie
2023-05-04 11:30:14 +08:00
parent 6f9159fa68
commit f562f30169
3 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ class execution extends control
$this->loadModel('product');
/* Get executions and products info. */
$executionID = $this->execution->saveState($executionID, $this->executions);
$executionID = $this->execution->checkAccess($executionID, $this->executions);
$execution = $this->execution->getById($executionID);
$products = $this->product->getProducts($executionID);
$childExecutions = $this->execution->getChildExecutions($executionID);