mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-07 18:31:04 +00:00
perf: 优化 connect method acls 和登录 acls
This commit is contained in:
10
apps/acls/models/connect_method.py
Normal file
10
apps/acls/models/connect_method.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from .base import UserBaseACL
|
||||
|
||||
__all__ = ['ConnectMethodACL']
|
||||
|
||||
|
||||
class ConnectMethodACL(UserBaseACL):
|
||||
connect_methods = models.JSONField(default=list, verbose_name=_('Connect methods'))
|
Reference in New Issue
Block a user