From f0f8cc5604bec1a45f0bc9815a9e3111509b886f Mon Sep 17 00:00:00 2001 From: imperosol Date: Mon, 23 Mar 2026 22:28:38 +0100 Subject: [PATCH] add permission to AE board to see hidden users in populate --- core/management/commands/populate.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/management/commands/populate.py b/core/management/commands/populate.py index 7bb2d0ef..4c1c5379 100644 --- a/core/management/commands/populate.py +++ b/core/management/commands/populate.py @@ -116,7 +116,11 @@ class Command(BaseCommand): ) main_club.board_group.permissions.add( *Permission.objects.filter( - codename__in=["view_subscription", "add_subscription"] + codename__in=[ + "view_subscription", + "add_subscription", + "view_hidden_user", + ] ) ) bar_club = Club.objects.create(