mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
[Update] 修改user api权限
This commit is contained in:
@@ -19,6 +19,7 @@ from .tasks import write_login_log_async
|
||||
from .models import User, UserGroup, LoginLog
|
||||
from .utils import check_user_valid, generate_token, get_login_ip, \
|
||||
check_otp_code, set_user_login_failed_count_to_cache, is_block_login
|
||||
from .hands import Asset, SystemUser
|
||||
from orgs.utils import current_org
|
||||
from common.permissions import IsOrgAdmin, IsCurrentUserOrReadOnly, IsOrgAdminOrAppUser
|
||||
from .hands import Asset, SystemUser
|
||||
|
Reference in New Issue
Block a user