* Program/project edit page change acl.

This commit is contained in:
Yagami
2020-10-19 13:56:01 +08:00
parent 62c8bb5b03
commit 2fe5ec9993
14 changed files with 111 additions and 60 deletions

View File

@@ -74,6 +74,7 @@ class programplanModel extends model
->beginIF($browseType == 'all')->andWhere('project')->eq($programID)->fi()
->beginIF($browseType == 'parent')->andWhere('parent')->eq($programID)->fi()
->beginIF($browseType == 'children')->andWhere('parent')->eq($planID)->fi()
->beginIF(!$this->app->user->admin)->andWhere('id')->in($this->app->user->view->stages)->fi()
->beginIF($productID)->andWhere('id')->in($projects)->fi()
->andWhere('deleted')->eq(0)
->orderBy($orderBy)