mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Fixes migration to give the correct perms
This commit is contained in:
parent
c7234bff64
commit
b8e403ce59
1 changed files with 1 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue