- Delete the privilege of gitlab-bindProduct.

This commit is contained in:
hufangzhou
2023-04-13 16:20:23 +08:00
parent 1f9432a395
commit 6614ca00ff
7 changed files with 0 additions and 21 deletions
-2
View File
@@ -2331,7 +2331,6 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES
(1,'git','apiSync'),
(1,'git','cat'),
(1,'git','diff'),
(1,'gitlab','bindProduct'),
(1,'gitlab','bindUser'),
(1,'gitlab','browse'),
(1,'gitlab','create'),
@@ -5280,7 +5279,6 @@ INSERT INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES
(8,'git','apiSync'),
(8,'git','cat'),
(8,'git','diff'),
(8,'gitlab','bindProduct'),
(8,'gitlab','bindUser'),
(8,'gitlab','browse'),
(8,'gitlab','create'),
-14
View File
@@ -196,20 +196,6 @@ class gitlab extends control
$this->display();
}
/**
* Bind product and gitlab projects.
*
* @param int $gitlabID
* @access public
* @return void
*/
public function bindProduct($gitlabID)
{
$this->view->projectPairs = $this->gitlab->getProjectPairs($gitlabID);
$this->view->title = $this->lang->gitlab->bindProduct;
$this->display();
}
/**
* Delete a gitlab.
*
-1
View File
@@ -7,7 +7,6 @@ $lang->gitlab->edit = 'Edit GitLab';
$lang->gitlab->view = 'View GitLab';
$lang->gitlab->bindUser = 'Bind User';
$lang->gitlab->webhook = 'Webhook';
$lang->gitlab->bindProduct = "Import {$lang->productCommon}";
$lang->gitlab->importIssue = 'Import Issue';
$lang->gitlab->delete = 'Delete GitLab';
$lang->gitlab->confirmDelete = 'Do you want to delete this GitLab server?';
-1
View File
@@ -7,7 +7,6 @@ $lang->gitlab->edit = 'Edit GitLab';
$lang->gitlab->view = 'View GitLab';
$lang->gitlab->bindUser = 'Bind User';
$lang->gitlab->webhook = 'Webhook';
$lang->gitlab->bindProduct = "Import {$lang->productCommon}";
$lang->gitlab->importIssue = 'Import Issue';
$lang->gitlab->delete = 'Delete GitLab';
$lang->gitlab->confirmDelete = 'Do you want to delete this GitLab server?';
-1
View File
@@ -7,7 +7,6 @@ $lang->gitlab->edit = 'Edit GitLab';
$lang->gitlab->view = 'View GitLab';
$lang->gitlab->bindUser = 'Bind User';
$lang->gitlab->webhook = 'Webhook';
$lang->gitlab->bindProduct = "Import {$lang->productCommon}";
$lang->gitlab->importIssue = 'Import Issue';
$lang->gitlab->delete = 'Delete GitLab';
$lang->gitlab->confirmDelete = 'Do you want to delete this GitLab server?';
-1
View File
@@ -7,7 +7,6 @@ $lang->gitlab->edit = '编辑GitLab';
$lang->gitlab->view = '查看GitLab';
$lang->gitlab->bindUser = '绑定用户';
$lang->gitlab->webhook = 'Webhook';
$lang->gitlab->bindProduct = "关联{$lang->productCommon}";
$lang->gitlab->importIssue = '关联issue';
$lang->gitlab->delete = '删除GitLab';
$lang->gitlab->confirmDelete = '确认删除该GitLab吗?';
-1
View File
@@ -1469,7 +1469,6 @@ $lang->resource->gitlab->view = 'view';
$lang->resource->gitlab->importIssue = 'importIssue';
$lang->resource->gitlab->delete = 'delete';
$lang->resource->gitlab->bindUser = 'bindUser';
$lang->resource->gitlab->bindProduct = 'bindProduct';
$lang->resource->gitlab->browseProject = 'browseProject';
$lang->resource->gitlab->createProject = 'createProject';
$lang->resource->gitlab->editProject = 'editProject';