diff --git a/src/documents/management/commands/document_exporter.py b/src/documents/management/commands/document_exporter.py index c3dce40cc..d2b6f8e32 100644 --- a/src/documents/management/commands/document_exporter.py +++ b/src/documents/management/commands/document_exporter.py @@ -6,7 +6,7 @@ import time import tqdm from django.conf import settings -from django.contrib.auth.models import User +from django.contrib.auth.models import User, Group from django.core import serializers from django.core.management.base import BaseCommand, CommandError from django.db import transaction @@ -144,6 +144,8 @@ class Command(BaseCommand): serializers.serialize("json", SavedViewFilterRule.objects.all()) ) + manifest += json.loads(serializers.serialize("json", Group.objects.all())) + manifest += json.loads(serializers.serialize("json", User.objects.all())) # 3. Export files from each document