core: remove dump_config, handle directly in config loader without booting django, don't check database

This commit is contained in:
Jens L
2021-11-25 13:38:31 +01:00
parent f81ffd54f3
commit e1ef196283
5 changed files with 13 additions and 19 deletions

View File

@ -1,15 +0,0 @@
"""Output full config"""
from json import dumps
from django.core.management.base import BaseCommand, no_translations
from authentik.lib.config import CONFIG
class Command(BaseCommand): # pragma: no cover
"""Output full config"""
@no_translations
def handle(self, *args, **options):
"""Check permissions for all apps"""
print(dumps(CONFIG.raw, indent=4))