From b8e403ce59ba26bdb7d0cabf2eee2d48eb86e24d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 5 Dec 2022 17:04:47 -0800 Subject: [PATCH] Fixes migration to give the correct perms --- bookwyrm/migrations/0168_auto_20221205_2331.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bookwyrm/migrations/0168_auto_20221205_2331.py b/bookwyrm/migrations/0168_auto_20221205_2331.py index 796339a4f..47dd1c9a8 100644 --- a/bookwyrm/migrations/0168_auto_20221205_2331.py +++ b/bookwyrm/migrations/0168_auto_20221205_2331.py @@ -31,10 +31,8 @@ def create_groups_and_perms(apps, schema_editor): ) # Add perms to the group if anything was created - if group_created or perm_created or admin_perm_created or True: + if group_created or perm_created or admin_perm_created: perms = [ - "manage_registration", - "system_administration", "edit_instance_settings", "set_user_group", "control_federation",