perf: Connect method exclude face

This commit is contained in:
feng
2025-05-14 11:30:37 +08:00
committed by ZhaoJiSen
parent 941a784a5b
commit a72e6456d9
2 changed files with 5 additions and 4 deletions

View File

@@ -14,5 +14,6 @@ class ConnectMethodACLSerializer(BaseSerializer, BulkOrgResourceModelSerializer)
if i not in ['assets', 'accounts']
]
action_choices_exclude = BaseSerializer.Meta.action_choices_exclude + [
ActionChoices.review, ActionChoices.accept, ActionChoices.notice
ActionChoices.review, ActionChoices.accept, ActionChoices.notice,
ActionChoices.face_verify, ActionChoices.face_online
]