Fixes migration to give the correct perms

This commit is contained in:
Mouse Reeve 2022-12-05 17:04:47 -08:00
parent c7234bff64
commit b8e403ce59

View file

@ -31,10 +31,8 @@ def create_groups_and_perms(apps, schema_editor):
) )
# Add perms to the group if anything was created # 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 = [ perms = [
"manage_registration",
"system_administration",
"edit_instance_settings", "edit_instance_settings",
"set_user_group", "set_user_group",
"control_federation", "control_federation",