mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-02 08:54:18 +00:00
add permission to AE board to see hidden users in populate
This commit is contained in:
1 parent
2a8e810ad0
commit
f0f8cc5604
1 file changed
+5
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user