From c179d4b88f4e756fa48693b09776e540cde01129 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 6 Feb 2023 13:44:54 +0100 Subject: [PATCH] appsv2/group question: don't include primary groups in choices --- src/utils/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/config.py b/src/utils/config.py index 534cddcb3..5704686c0 100644 --- a/src/utils/config.py +++ b/src/utils/config.py @@ -1359,7 +1359,7 @@ class GroupQuestion(Question): super().__init__(question, context) - self.choices = list(user_group_list(short=True)["groups"]) + self.choices = list(user_group_list(short=True, include_primary_groups=False)["groups"]) def _human_readable_group(g): # i18n: visitors