mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-16 07:18:22 +00:00
fix: 修改 ACL ActionChoices review, accept, reject 引用
This commit is contained in:
@@ -36,7 +36,7 @@ class LoginACL(BaseACL):
|
||||
return
|
||||
|
||||
for acl in acl_qs:
|
||||
if acl.is_action(LoginACL.ActionChoices.confirm) and \
|
||||
if acl.is_action(LoginACL.ActionChoices.review) and \
|
||||
not acl.reviewers.exists():
|
||||
continue
|
||||
ip_group = acl.rules.get('ip_group')
|
||||
|
Reference in New Issue
Block a user