feat: update facelive acl action license check

This commit is contained in:
Aaron3S
2026-01-14 16:26:12 +08:00
committed by Jiangjie Bai
parent 89b5ab310e
commit 04abdfc346

View File

@@ -72,7 +72,6 @@ class ActionAclSerializer(serializers.Serializer):
field_action._choices.pop(ActionChoices.review, None)
if not (
settings.XPACK_LICENSE_IS_VALID and
settings.XPACK_LICENSE_EDITION_ULTIMATE and
settings.FACE_RECOGNITION_ENABLED
):
field_action._choices.pop(ActionChoices.face_verify, None)