* Change gitlab branch and tag access check.

This commit is contained in:
caoyanyi
2023-08-24 09:49:01 +08:00
parent 660a1f59b0
commit b2df908f52
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -727,6 +727,7 @@ class gitlab extends control
if(!$project->adminer and isset($project->owner) and $project->owner->id == $openID) $project->adminer = true;
$project->isMaintainer = $this->gitlab->checkUserAccess($gitlabID, $project->id, $project, $groupIDList, 'maintainer');
$project->isDeveloper = $this->gitlab->checkUserAccess($gitlabID, $project->id, $project, $groupIDList, 'developer');
}
$gitlab = $this->gitlab->getByID($gitlabID);