mirror of
https://github.com/lucaspalomodevelop/netbox-acls.git
synced 2026-03-12 23:27:23 +00:00
commit
6c744b1064
@ -155,6 +155,9 @@ CORS_ORIGIN_REGEX_WHITELIST = [
|
|||||||
# on a production system.
|
# on a production system.
|
||||||
DEBUG = environ.get("DEBUG", "False").lower() == "true"
|
DEBUG = environ.get("DEBUG", "False").lower() == "true"
|
||||||
|
|
||||||
|
# Set to True to enable DEVELOPER Mode. WARNING: ONLY netbox developers or plugin developers need this access.
|
||||||
|
DEVELOPER = environ.get("DEVELOPER_MODE", "False").lower() == "true"
|
||||||
|
|
||||||
# Email settings
|
# Email settings
|
||||||
EMAIL = {
|
EMAIL = {
|
||||||
"SERVER": environ.get("EMAIL_SERVER", "localhost"),
|
"SERVER": environ.get("EMAIL_SERVER", "localhost"),
|
||||||
|
|||||||
2
.devcontainer/env/netbox.env
vendored
2
.devcontainer/env/netbox.env
vendored
@ -5,6 +5,7 @@ DB_NAME=netbox
|
|||||||
DB_PASSWORD=J5brHrAXFLQSif0K
|
DB_PASSWORD=J5brHrAXFLQSif0K
|
||||||
DB_USER=netbox
|
DB_USER=netbox
|
||||||
DEBUG=true
|
DEBUG=true
|
||||||
|
DEVELOPER_MODE=true
|
||||||
ENFORCE_GLOBAL_UNIQUE=true
|
ENFORCE_GLOBAL_UNIQUE=true
|
||||||
LOGIN_REQUIRED=false
|
LOGIN_REQUIRED=false
|
||||||
GRAPHQL_ENABLED=true
|
GRAPHQL_ENABLED=true
|
||||||
@ -19,5 +20,4 @@ SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
|
|||||||
SUPERUSER_EMAIL=admin@example.com
|
SUPERUSER_EMAIL=admin@example.com
|
||||||
SUPERUSER_NAME=admin
|
SUPERUSER_NAME=admin
|
||||||
SUPERUSER_PASSWORD=admin
|
SUPERUSER_PASSWORD=admin
|
||||||
STARTUP_SCRIPTS=false
|
|
||||||
WEBHOOKS_ENABLED=true
|
WEBHOOKS_ENABLED=true
|
||||||
|
|||||||
@ -40,7 +40,7 @@ Each Plugin Version listed below has been tested with its corresponding NetBox V
|
|||||||
|:--------------:|:--------------:|
|
|:--------------:|:--------------:|
|
||||||
| 3.2 | 1.0.1 |
|
| 3.2 | 1.0.1 |
|
||||||
| 3.3 | 1.1.0 |
|
| 3.3 | 1.1.0 |
|
||||||
| 3.4 | 1.2.1 |
|
| 3.4 | 1.2.2 |
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
|
|||||||
42
netbox_acls/migrations/0003_netbox_acls.py
Normal file
42
netbox_acls/migrations/0003_netbox_acls.py
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# Generated by Django 4.1.5 on 2023-01-25 20:08
|
||||||
|
|
||||||
|
import utilities.json
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("netbox_acls", "0002_alter_accesslist_options_and_more"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="accesslist",
|
||||||
|
name="custom_field_data",
|
||||||
|
field=models.JSONField(
|
||||||
|
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="aclextendedrule",
|
||||||
|
name="custom_field_data",
|
||||||
|
field=models.JSONField(
|
||||||
|
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="aclinterfaceassignment",
|
||||||
|
name="custom_field_data",
|
||||||
|
field=models.JSONField(
|
||||||
|
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="aclstandardrule",
|
||||||
|
name="custom_field_data",
|
||||||
|
field=models.JSONField(
|
||||||
|
blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
@ -1 +1 @@
|
|||||||
__version__ = "1.2.1"
|
__version__ = "1.2.2"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user