netbox-plugin-dns 1.7.2__tar.gz → 1.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/PKG-INFO +1 -1
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/__init__.py +1 -1
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/dnssec_key_template.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/dnssec_policy.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/nameserver.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/record.py +13 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/record_template.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/registrar.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/registration_contact.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/view.py +10 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/zone.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/zone_template.py +1 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/views.py +6 -33
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/view.py +6 -9
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/management/commands/cleanup_database.py +16 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0033_remove_ptr_from_inactive_zones.py +3 -3
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/view.py +8 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/utilities/ipam_dnssync.py +52 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/validators/dns_value.py +3 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/nameserver.py +2 -2
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/registration_contact.py +1 -1
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/view.py +1 -1
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_plugin_dns.egg-info/PKG-INFO +1 -1
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/pyproject.toml +1 -1
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/LICENSE +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/README.md +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/field_serializers.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/nested_serializers.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/serializers_/prefix.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/api/urls.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/apps.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/branching.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/choices/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/choices/dnssec_key_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/choices/dnssec_policy.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/choices/record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/choices/utilities.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/choices/zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/fields/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/fields/address.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/fields/choice_array.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/fields/ipam.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/fields/network.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/fields/rfc2317.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/fields/timeperiod.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filters.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/dnssec_key_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/dnssec_policy.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/nameserver.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/record_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/registrar.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/registration_contact.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/view.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/zone_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/dnssec_key_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/dnssec_policy.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/nameserver.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/record_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/registrar.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/registration_contact.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/zone_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/enums.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filter_lookups.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/dnssec_key_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/dnssec_policy.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/nameserver.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/record_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/registrar.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/registration_contact.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/view.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/zone_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/schema.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/types.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/jobs/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/jobs/record_expiration.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/de/LC_MESSAGES/django.mo +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/de/LC_MESSAGES/django.po +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/en/LC_MESSAGES/django.mo +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/en/LC_MESSAGES/django.po +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/fr/LC_MESSAGES/django.mo +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/fr/LC_MESSAGES/django.po +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/management/commands/cleanup_rrset_ttl.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/management/commands/dns_check_zone_cut.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/management/commands/rebuild_dnssync.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/management/commands/setup_dnssync.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0001_squashed_netbox_dns_0_22.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0002_contact_description_registrar_description.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0003_default_view.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0004_create_and_assign_default_view.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0005_alter_zone_view_not_null.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0006_templating.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0007_alter_ordering_options.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0008_view_prefixes.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0009_rename_contact_registrationcontact.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0010_view_ip_address_filter.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0011_rename_related_fields.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0012_natural_ordering.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0013_zonetemplate_soa_mname_zonetemplate_soa_rname.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0014_alter_unique_constraints_lowercase.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0015_dnssec.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0016_dnssec_policy_status.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0017_dnssec_policy_zone_zone_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0018_zone_domain_status_zone_expiration_date.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0019_dnssecpolicy_parental_agents.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0020_remove_dnssecpolicy_parental_agents_and_more.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0021_alter_record_ptr_record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0022_alter_record_ipam_ip_address.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0023_disable_ptr_false.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0024_zonetemplate_parental_agents.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0025_remove_zone_inline_signing_and_more.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0026_alter_dnssecpolicy_nsec3_opt_out.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0027_zone_comments.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0028_alter_zone_default_ttl_alter_zone_soa_minimum_and_more.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0029_alter_registrationcontact_street.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0030_dnsseckeytemplate_comments_dnsseckeytemplate_owner_and_more.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0031_record_netbox_dns_record_name_and_more.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0032_record_expiration_date.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0034_record_external_rfc2317_zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/0035_alter_dnsseckeytemplate_owner_and_more.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/migrations/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/mixins/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/mixins/object_modification.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/dnssec_key_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/dnssec_policy.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/nameserver.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/record_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/registrar.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/registration_contact.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/models/zone_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/navigation.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/signals/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/signals/dnssec.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/signals/ipam_dnssync.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/dnssec_key_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/dnssec_policy.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/ipam_dnssync.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/nameserver.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/record_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/registrar.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/registration_contact.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/view.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/tables/zone_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/template_content.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/dnsseckeytemplate.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/dnssecpolicy.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/nameserver.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/record/managed.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/record/related.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/record.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/recordtemplate.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/registrar.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/registrationcontact.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/view/button.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/view/prefix.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/view/related.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/view.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/base.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/child.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/child_zone.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/delegation_record.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/managed_record.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/record.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/registration.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/rfc2317_child_zone.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone/rfc2317_cname_records.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zone.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zonetemplate/child.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templates/netbox_dns/zonetemplate.html +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templatetags/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/templatetags/netbox_dns.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/urls.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/utilities/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/utilities/conversions.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/utilities/dns.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/validators/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/validators/dns_name.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/validators/dnssec.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/validators/rfc2317.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/__init__.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/dnssec_key_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/dnssec_policy.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/record.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/record_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/registrar.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/zone.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/views/zone_template.py +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_plugin_dns.egg-info/SOURCES.txt +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_plugin_dns.egg-info/dependency_links.txt +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_plugin_dns.egg-info/requires.txt +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_plugin_dns.egg-info/top_level.txt +0 -0
- {netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/setup.cfg +0 -0
|
@@ -43,6 +43,7 @@ class RecordSerializer(PrimaryModelSerializer):
|
|
|
43
43
|
"absolute_value",
|
|
44
44
|
"expiration_date",
|
|
45
45
|
"expired",
|
|
46
|
+
"owner",
|
|
46
47
|
)
|
|
47
48
|
|
|
48
49
|
brief_fields = (
|
|
@@ -109,3 +110,15 @@ class RecordSerializer(PrimaryModelSerializer):
|
|
|
109
110
|
|
|
110
111
|
def get_expired(self, instance):
|
|
111
112
|
return instance.is_expired
|
|
113
|
+
|
|
114
|
+
def validate(self, data):
|
|
115
|
+
if self.instance is not None and self.instance.managed:
|
|
116
|
+
raise serializers.ValidationError(
|
|
117
|
+
_("{object} is managed, refusing update").format(object=self.instance)
|
|
118
|
+
)
|
|
119
|
+
if isinstance(data, dict) and data.get("managed"):
|
|
120
|
+
raise serializers.ValidationError(
|
|
121
|
+
_("'managed' is True, refusing to create or update a managed record")
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
return super().validate(data)
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
from django.core.exceptions import ValidationError as DjangoValidationError
|
|
1
2
|
from django.utils.translation import gettext as _
|
|
2
3
|
from rest_framework import serializers
|
|
3
4
|
|
|
4
5
|
from ipam.api.serializers import PrefixSerializer
|
|
5
6
|
from netbox.api.serializers import PrimaryModelSerializer
|
|
6
7
|
from netbox_dns.models import View
|
|
8
|
+
from netbox_dns.utilities import validate_ip_address_filter
|
|
7
9
|
from tenancy.api.serializers import TenantSerializer
|
|
8
10
|
|
|
9
11
|
__all__ = ("ViewSerializer",)
|
|
@@ -29,6 +31,7 @@ class ViewSerializer(PrimaryModelSerializer):
|
|
|
29
31
|
"tenant",
|
|
30
32
|
"prefixes",
|
|
31
33
|
"ip_address_filter",
|
|
34
|
+
"owner",
|
|
32
35
|
)
|
|
33
36
|
|
|
34
37
|
brief_fields = (
|
|
@@ -59,6 +62,13 @@ class ViewSerializer(PrimaryModelSerializer):
|
|
|
59
62
|
allow_null=True,
|
|
60
63
|
)
|
|
61
64
|
|
|
65
|
+
def validate_ip_address_filter(self, value):
|
|
66
|
+
try:
|
|
67
|
+
validate_ip_address_filter(value)
|
|
68
|
+
except DjangoValidationError as exc:
|
|
69
|
+
raise serializers.ValidationError(exc.messages)
|
|
70
|
+
return value
|
|
71
|
+
|
|
62
72
|
def create(self, validated_data):
|
|
63
73
|
prefixes = validated_data.pop("prefixes", None)
|
|
64
74
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
from django.utils.translation import gettext as _
|
|
2
|
-
from rest_framework import serializers
|
|
3
2
|
from rest_framework.routers import APIRootView
|
|
4
3
|
|
|
5
4
|
from ipam.filtersets import PrefixFilterSet
|
|
@@ -42,6 +41,7 @@ from netbox_dns.models import (
|
|
|
42
41
|
Zone,
|
|
43
42
|
ZoneTemplate,
|
|
44
43
|
)
|
|
44
|
+
from utilities.exceptions import AbortRequest
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
class NetBoxDNSRootView(APIRootView):
|
|
@@ -72,40 +72,13 @@ class RecordViewSet(NetBoxModelViewSet):
|
|
|
72
72
|
serializer_class = RecordSerializer
|
|
73
73
|
filterset_class = RecordFilterSet
|
|
74
74
|
|
|
75
|
-
def
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
if any(isinstance(record, dict) and record.get("managed") for record in data):
|
|
81
|
-
raise serializers.ValidationError(_("'managed' is True, refusing create"))
|
|
82
|
-
|
|
83
|
-
return super().create(request, *args, **kwargs)
|
|
84
|
-
|
|
85
|
-
def destroy(self, request, *args, **kwargs):
|
|
86
|
-
v_object = self.get_object()
|
|
87
|
-
if v_object.managed:
|
|
88
|
-
raise serializers.ValidationError(
|
|
89
|
-
_("{object} is managed, refusing deletion").format(object=v_object)
|
|
90
|
-
)
|
|
91
|
-
|
|
92
|
-
return super().destroy(request, *args, **kwargs)
|
|
93
|
-
|
|
94
|
-
def update(self, request, *args, **kwargs):
|
|
95
|
-
v_object = self.get_object()
|
|
96
|
-
if v_object.managed:
|
|
97
|
-
raise serializers.ValidationError(
|
|
98
|
-
_("{object} is managed, refusing update").format(object=v_object)
|
|
99
|
-
)
|
|
100
|
-
|
|
101
|
-
if request.data.get("managed"):
|
|
102
|
-
raise serializers.ValidationError(
|
|
103
|
-
_("{object} is unmanaged, refusing update to managed").format(
|
|
104
|
-
object=v_object
|
|
105
|
-
)
|
|
75
|
+
def perform_destroy(self, instance):
|
|
76
|
+
if instance.managed:
|
|
77
|
+
raise AbortRequest(
|
|
78
|
+
_("{object} is managed, refusing deletion").format(object=instance)
|
|
106
79
|
)
|
|
107
80
|
|
|
108
|
-
|
|
81
|
+
super().perform_destroy(instance)
|
|
109
82
|
|
|
110
83
|
|
|
111
84
|
class RegistrarViewSet(NetBoxModelViewSet):
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
from django import forms
|
|
2
2
|
from django.conf import settings
|
|
3
|
-
from django.core.exceptions import
|
|
3
|
+
from django.core.exceptions import ValidationError
|
|
4
4
|
from django.db.models import Count, Q
|
|
5
5
|
from django.utils.translation import gettext_lazy as _
|
|
6
6
|
|
|
7
|
-
from ipam.models import
|
|
7
|
+
from ipam.models import Prefix
|
|
8
8
|
from netbox.context import current_request
|
|
9
9
|
from netbox.forms import (
|
|
10
10
|
PrimaryModelBulkEditForm,
|
|
@@ -17,8 +17,8 @@ from netbox_dns.models import View
|
|
|
17
17
|
from netbox_dns.utilities import (
|
|
18
18
|
check_dns_records,
|
|
19
19
|
get_ip_addresses_by_prefix,
|
|
20
|
-
get_query_from_filter,
|
|
21
20
|
get_views_by_prefix,
|
|
21
|
+
validate_ip_address_filter,
|
|
22
22
|
)
|
|
23
23
|
from tenancy.forms import TenancyFilterForm, TenancyForm
|
|
24
24
|
from tenancy.models import Tenant, TenantGroup
|
|
@@ -171,12 +171,9 @@ class ViewForm(ViewPrefixUpdateMixin, TenancyForm, PrimaryModelForm):
|
|
|
171
171
|
ip_address_filter = self.cleaned_data.get("ip_address_filter")
|
|
172
172
|
|
|
173
173
|
try:
|
|
174
|
-
|
|
175
|
-
except
|
|
176
|
-
self.add_error(
|
|
177
|
-
"ip_address_filter",
|
|
178
|
-
_("Invalid filter for IPAddress: {error}").format(error=exc),
|
|
179
|
-
)
|
|
174
|
+
validate_ip_address_filter(ip_address_filter)
|
|
175
|
+
except ValidationError as exc:
|
|
176
|
+
self.add_error("ip_address_filter", exc)
|
|
180
177
|
|
|
181
178
|
return ip_address_filter
|
|
182
179
|
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
from django.core.management.base import BaseCommand
|
|
2
2
|
from netaddr import IPAddress
|
|
3
3
|
|
|
4
|
+
from netbox.plugins.utils import get_plugin_config
|
|
4
5
|
from netbox_dns.choices import RecordTypeChoices
|
|
5
6
|
from netbox_dns.models import Record, Zone
|
|
6
7
|
|
|
8
|
+
ZONE_ACTIVE_STATUS_LIST = get_plugin_config("netbox_dns", "zone_active_status")
|
|
9
|
+
|
|
7
10
|
|
|
8
11
|
class Command(BaseCommand):
|
|
9
12
|
help = "Clean up NetBox DNS database"
|
|
@@ -17,6 +20,7 @@ class Command(BaseCommand):
|
|
|
17
20
|
self._record_update_ip_address(**options)
|
|
18
21
|
self._record_remove_orphaned_ptr_records(**options)
|
|
19
22
|
self._record_remove_orphaned_address_records(**options)
|
|
23
|
+
self._record_remove_ptr_records_from_inactive_zones(**options)
|
|
20
24
|
|
|
21
25
|
if options.get("verbosity"):
|
|
22
26
|
self.stdout.write("Database cleanup completed.")
|
|
@@ -202,3 +206,15 @@ class Command(BaseCommand):
|
|
|
202
206
|
if options.get("verbosity") > 1:
|
|
203
207
|
self.stdout.write(f"Removing orphaned address record '{record}'")
|
|
204
208
|
record.delete()
|
|
209
|
+
|
|
210
|
+
def _record_remove_ptr_records_from_inactive_zones(self, **options):
|
|
211
|
+
if options.get("verbosity"):
|
|
212
|
+
self.stdout.write("Removing managed PTR records from inactive zones")
|
|
213
|
+
|
|
214
|
+
for record in Record.objects.exclude(
|
|
215
|
+
zone__status__in=ZONE_ACTIVE_STATUS_LIST,
|
|
216
|
+
).filter(
|
|
217
|
+
type=RecordTypeChoices.PTR,
|
|
218
|
+
managed=True,
|
|
219
|
+
):
|
|
220
|
+
record.delete()
|
|
@@ -9,11 +9,11 @@ ZONE_ACTIVE_STATUS_LIST = get_plugin_config("netbox_dns", "zone_active_status")
|
|
|
9
9
|
def remove_ptr_from_inactive_zones(apps, schema_editor):
|
|
10
10
|
Record = apps.get_model("netbox_dns", "Record")
|
|
11
11
|
|
|
12
|
-
inactive_ptr_records = Record.objects.
|
|
12
|
+
inactive_ptr_records = Record.objects.exclude(
|
|
13
|
+
zone__status__in=ZONE_ACTIVE_STATUS_LIST,
|
|
14
|
+
).filter(
|
|
13
15
|
type=RecordTypeChoices.PTR,
|
|
14
16
|
managed=True,
|
|
15
|
-
).exclude(
|
|
16
|
-
zone__status__in=ZONE_ACTIVE_STATUS_LIST,
|
|
17
17
|
)
|
|
18
18
|
|
|
19
19
|
for record in inactive_ptr_records:
|
|
@@ -13,6 +13,7 @@ from netbox_dns.utilities import (
|
|
|
13
13
|
get_ip_addresses_by_view,
|
|
14
14
|
get_query_from_filter,
|
|
15
15
|
update_dns_records,
|
|
16
|
+
validate_ip_address_filter,
|
|
16
17
|
)
|
|
17
18
|
from utilities.exceptions import AbortRequest
|
|
18
19
|
|
|
@@ -89,6 +90,13 @@ class View(ObjectModificationMixin, ContactsMixin, PrimaryModel):
|
|
|
89
90
|
}
|
|
90
91
|
)
|
|
91
92
|
|
|
93
|
+
if "ip_address_filter" in changed_fields and self.ip_address_filter:
|
|
94
|
+
# Reject the filter before it is expanded into a query
|
|
95
|
+
try:
|
|
96
|
+
validate_ip_address_filter(self.ip_address_filter)
|
|
97
|
+
except ValidationError as exc:
|
|
98
|
+
raise ValidationError({"ip_address_filter": exc.messages})
|
|
99
|
+
|
|
92
100
|
if "ip_address_filter" in changed_fields and self.get_saved_value(
|
|
93
101
|
"ip_address_filter"
|
|
94
102
|
):
|
|
@@ -2,7 +2,9 @@ import re
|
|
|
2
2
|
from collections import defaultdict
|
|
3
3
|
|
|
4
4
|
from django.conf import settings
|
|
5
|
+
from django.core.exceptions import FieldDoesNotExist, ValidationError
|
|
5
6
|
from django.db.models import Q
|
|
7
|
+
from django.utils.translation import gettext_lazy as _
|
|
6
8
|
from dns import name as dns_name
|
|
7
9
|
from netaddr import IPNetwork
|
|
8
10
|
|
|
@@ -24,6 +26,7 @@ __all__ = (
|
|
|
24
26
|
"get_ip_addresses_by_zone",
|
|
25
27
|
"check_record_permission",
|
|
26
28
|
"get_query_from_filter",
|
|
29
|
+
"validate_ip_address_filter",
|
|
27
30
|
"check_filter",
|
|
28
31
|
"get_cidr_address",
|
|
29
32
|
)
|
|
@@ -349,7 +352,56 @@ def check_record_permission(add=True, change=True, delete=True):
|
|
|
349
352
|
)
|
|
350
353
|
|
|
351
354
|
|
|
355
|
+
RELATION_TERMINAL_LOOKUPS = frozenset({"pk", "id", "in", "isnull", "exact"})
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
def _validate_filter_key(key):
|
|
359
|
+
parts = key.split("__")
|
|
360
|
+
for index, part in enumerate(parts):
|
|
361
|
+
try:
|
|
362
|
+
field = IPAddress._meta.get_field(part)
|
|
363
|
+
except FieldDoesNotExist:
|
|
364
|
+
if index == 0:
|
|
365
|
+
raise ValidationError(
|
|
366
|
+
_("Unknown field {field} in filter key {key}").format(
|
|
367
|
+
field=part, key=key
|
|
368
|
+
)
|
|
369
|
+
)
|
|
370
|
+
return
|
|
371
|
+
|
|
372
|
+
if field.is_relation:
|
|
373
|
+
remainder = parts[index + 1 :]
|
|
374
|
+
if remainder and remainder[0] not in RELATION_TERMINAL_LOOKUPS:
|
|
375
|
+
raise ValidationError(
|
|
376
|
+
_("Filter key {key} may not cross the relation {field}").format(
|
|
377
|
+
key=key, field=part
|
|
378
|
+
)
|
|
379
|
+
)
|
|
380
|
+
return
|
|
381
|
+
|
|
382
|
+
return
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
def validate_ip_address_filter(ip_address_filter):
|
|
386
|
+
if not isinstance(ip_address_filter, list):
|
|
387
|
+
ip_address_filter = [ip_address_filter]
|
|
388
|
+
|
|
389
|
+
for condition in ip_address_filter:
|
|
390
|
+
if not condition:
|
|
391
|
+
continue
|
|
392
|
+
if not isinstance(condition, dict):
|
|
393
|
+
raise ValidationError(
|
|
394
|
+
_("Filter condition must be an object, not {type}").format(
|
|
395
|
+
type=type(condition).__name__
|
|
396
|
+
)
|
|
397
|
+
)
|
|
398
|
+
for key in condition:
|
|
399
|
+
_validate_filter_key(key)
|
|
400
|
+
|
|
401
|
+
|
|
352
402
|
def get_query_from_filter(ip_address_filter):
|
|
403
|
+
validate_ip_address_filter(ip_address_filter)
|
|
404
|
+
|
|
353
405
|
query = Q()
|
|
354
406
|
|
|
355
407
|
if not isinstance(ip_address_filter, list):
|
|
@@ -83,6 +83,9 @@ def validate_record_value(record):
|
|
|
83
83
|
).format(value=record.value, type=record.type, error=exc)
|
|
84
84
|
)
|
|
85
85
|
|
|
86
|
+
if record.type not in (RecordTypeChoices.TXT, RecordTypeChoices.SPF):
|
|
87
|
+
record.value = rr.to_text()
|
|
88
|
+
|
|
86
89
|
skip_name_validation = record.type in get_plugin_config(
|
|
87
90
|
"netbox_dns", "tolerate_non_rfc1035_types", default=[]
|
|
88
91
|
)
|
|
@@ -97,7 +97,7 @@ class NameServerZoneListView(generic.ObjectChildrenView):
|
|
|
97
97
|
)
|
|
98
98
|
|
|
99
99
|
def get_children(self, request, parent):
|
|
100
|
-
return parent.zones
|
|
100
|
+
return parent.zones.restrict(request.user, "view")
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
@register_model_view(NameServer, "soa_zones")
|
|
@@ -117,4 +117,4 @@ class NameServerSOAZoneListView(generic.ObjectChildrenView):
|
|
|
117
117
|
)
|
|
118
118
|
|
|
119
119
|
def get_children(self, request, parent):
|
|
120
|
-
return parent.soa_zones
|
|
120
|
+
return parent.soa_zones.restrict(request.user, "view")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/choices/dnssec_key_template.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/dnssec_key_template.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/record_template.py
RENAMED
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/filtersets/registration_contact.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/forms/registration_contact.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/dnssec_policy.py
RENAMED
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/nameserver.py
RENAMED
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/record_template.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/graphql/filters/zone_template.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/de/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/de/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/en/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/en/LC_MESSAGES/django.po
RENAMED
|
File without changes
|
{netbox_plugin_dns-1.7.2 → netbox_plugin_dns-1.7.3}/netbox_dns/locale/fr/LC_MESSAGES/django.mo
RENAMED
|
File without changes
|