mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 08:25:04 +00:00
perf: AKSK添加访问IP控制
This commit is contained in:
19
apps/authentication/migrations/0024_accesskey_ip_group.py
Normal file
19
apps/authentication/migrations/0024_accesskey_ip_group.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.1.10 on 2023-10-31 05:37
|
||||
|
||||
import authentication.models.access_key
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('authentication', '0023_auto_20231010_1101'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='accesskey',
|
||||
name='ip_group',
|
||||
field=models.JSONField(default=authentication.models.access_key.defatult_ip_group, verbose_name='IP group'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user