From a6a04cd406d37f404f527d668ab33fde269235cb Mon Sep 17 00:00:00 2001 From: Ian Stride Date: Thu, 29 Aug 2024 10:47:57 +0100 Subject: [PATCH] Configure Wagtail Transfer to look up auth permissions by codename (#1710) --- iogt/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/iogt/settings/base.py b/iogt/settings/base.py index 102c273de..68c910217 100644 --- a/iogt/settings/base.py +++ b/iogt/settings/base.py @@ -435,6 +435,7 @@ TRANSLATIONS_PROJECT_BASE_DIR = BASE_DIR WAGTAILTRANSFER_LOOKUP_FIELDS = { + 'auth.permission': ['codename'], 'contenttypes.contenttype': ['app_label', 'model'], 'iogt_users.user': ['username'], 'taggit.tag': ['slug'],