* Fix bug#42719

This commit is contained in:
zenggang
2023-12-29 06:53:34 +00:00
parent 352035e359
commit 7bf823954c
3 changed files with 11 additions and 8 deletions
+2
View File
@@ -2561,6 +2561,8 @@ class gitlabModel extends model
if($action == 'editUser') return $object->isAdmin;
if($action == 'deleteUser') return $object->isAdmin;
if($action == 'deleteTag') return !$object->protected;
return true;
}