* Fix bug#42719
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user