diff --git a/src/Api/Groups.php b/src/Api/Groups.php index 5a97e0cf..fa793b96 100644 --- a/src/Api/Groups.php +++ b/src/Api/Groups.php @@ -866,6 +866,10 @@ private function getGroupSearchResolver() ->setNormalizer('top_level_only', $booleanNormalizer) ; + $resolver->setDefined('visibility') + ->setAllowedValues('visibility', ['public', 'internal', 'private']) + ; + return $resolver; }