* Add action logs and check privileges for linking project and Repos.

This commit is contained in:
wangjianhua
2022-10-11 17:23:55 +08:00
parent a8ffa986c0
commit baee149721
9 changed files with 33 additions and 1 deletions
+1 -1
View File
@@ -2297,7 +2297,7 @@ class project extends control
}
$this->view->title = $this->lang->project->manageRepo;
$this->view->allRepos = $this->dao->select('*')->from(TABLE_REPO)->where('deleted')->eq(0)->fetchPairs('id', 'name');
$this->view->allRepos = $this->loadModel('repo')->repoPairsForCurrentUser();
$this->view->linkedRepos = $this->project->linkedRepoPairs($projectID);
$this->view->unlinkedRepos = array();