From f8d992dedb224aa5c0f9cf7e8a12c65b06f1627b Mon Sep 17 00:00:00 2001 From: Jens L Date: Tue, 23 Jan 2024 12:36:58 +0100 Subject: [PATCH] core: fix rac property mapping requiring enterprise (#8267) Signed-off-by: Jens Langhammer --- authentik/core/api/propertymappings.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/authentik/core/api/propertymappings.py b/authentik/core/api/propertymappings.py index d0fa7267b9..1e7436be93 100644 --- a/authentik/core/api/propertymappings.py +++ b/authentik/core/api/propertymappings.py @@ -19,7 +19,6 @@ from authentik.core.api.used_by import UsedByMixin from authentik.core.api.utils import MetaNameSerializer, PassiveSerializer, TypeCreateSerializer from authentik.core.expression.evaluator import PropertyMappingEvaluator from authentik.core.models import PropertyMapping -from authentik.enterprise.apps import EnterpriseConfig from authentik.events.utils import sanitize_item from authentik.lib.utils.reflection import all_subclasses from authentik.policies.api.exec import PolicyTestSerializer @@ -96,7 +95,6 @@ class PropertyMappingViewSet( "description": subclass.__doc__, "component": subclass().component, "model_name": subclass._meta.model_name, - "requires_enterprise": isinstance(subclass._meta.app_config, EnterpriseConfig), } ) return Response(TypeCreateSerializer(data, many=True).data)