In all versions of GitLab CE/EE since version 13.0, a privileged user, through an API call, can change the visibility level of a group or a project to a restricted option even after the instance administrator sets that visibility option as restricted in settings.
{
"versions": [
{
"introduced": "13.0.0"
},
{
"fixed": "14.2.6"
},
{
"introduced": "13.0.0"
},
{
"fixed": "14.2.6"
},
{
"introduced": "14.3.0"
},
{
"fixed": "14.3.4"
},
{
"introduced": "14.3.0"
},
{
"fixed": "14.3.4"
},
{
"introduced": "0"
},
{
"last_affected": "14.4.0"
},
{
"introduced": "0"
},
{
"last_affected": "14.4.0"
}
]
}