Fix typo in migration

This commit is contained in:
Ramon Wenger 2023-03-16 14:24:05 +01:00
parent 43ef014cd2
commit cb0e23a5ba
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ logger = get_logger(__name__)
def add_group_page_permissions(apps, schema_editor):
try:
types = ["lock", "bulk_delete", "edit", "pgroup.ublish", "unlock", "add"]
types = ["lock", "bulk_delete", "edit", "publish", "unlock", "add"]
Group = apps.get_model("auth", "Group")
Site = apps.get_model("wagtailcore", "Site")
GroupPagePermission = apps.get_model("wagtailcore", "GroupPagePermission")