commonground-api-common 1.13.3__tar.gz → 1.13.4__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.
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/CHANGELOG.rst +5 -0
- {commonground_api_common-1.13.3/commonground_api_common.egg-info → commonground_api_common-1.13.4}/PKG-INFO +1 -1
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4/commonground_api_common.egg-info}/PKG-INFO +1 -1
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/commonground_api_common.egg-info/SOURCES.txt +1 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/setup.cfg +1 -1
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_jwt_decoding.py +1 -1
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_permissions.py +1 -1
- commonground_api_common-1.13.4/vng_api_common/__init__.py +1 -0
- {commonground_api_common-1.13.3/vng_api_common → commonground_api_common-1.13.4/vng_api_common/authorizations}/middleware.py +8 -34
- commonground_api_common-1.13.4/vng_api_common/middleware.py +35 -0
- commonground_api_common-1.13.3/vng_api_common/__init__.py +0 -1
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/MANIFEST.in +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/README.rst +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/bin/generate_schema +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/bin/patch_content_types +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/bin/use_external_components +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/commonground_api_common.egg-info/dependency_links.txt +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/commonground_api_common.egg-info/not-zip-safe +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/commonground_api_common.egg-info/requires.txt +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/commonground_api_common.egg-info/top_level.txt +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/pyproject.toml +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/setup.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_autorisatie_validation.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_cache_headers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_check_query_params.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_checks.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_choices.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_config.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_content_type_headers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_filters.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_gegevensgroepen.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_get_resource.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_jwtsecrets.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_nested_serializer_validation.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_pagination.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_publish_validator.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_schema_root_tags.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_server_errors.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_utils.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_validators.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_views.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/admin.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/permissions.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/serializers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/urls.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/views.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/apps.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/admin.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/api/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/api/scopes.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/api/serializers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/apps.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/audits.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0001_initial.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0002_auto_20190516_0830.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0003_auto_20190517_0844.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0004_auto_20190520_1238.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0005_auto_20190520_1450.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0006_audittrail_toelichting.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0007_auto_20190522_0916.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0008_audittrail_resource_weergave.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0009_auto_20190712_1643.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0010_audittrail_request_id.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0011_auto_20190918_1335.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0012_auto_20200619_0545.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0012_remove_audittrail_request_id.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0013_audittrail_logrecord_id.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0013_auto_20201207_0846.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0014_auto_20201221_0905.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0014_auto_20210323_1654.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0015_auto_20220318_1608.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0016_merge_20220607_0517.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0017_alter_audittrail_bron.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/0018_auto_20221212_0745.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/migrations/_operations.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/models.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/viewsets.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/admin.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0001_initial.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0002_authorizationsconfig.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0003_auto_20190502_0409.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0004_auto_20190503_0941.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0005_auto_20190506_0842.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0006_auto_20190506_0901.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0007_auto_20190506_1212.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0008_auto_20190712_1541.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0009_update_enums.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0010_auto_20190712_1643.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0011_auto_20191114_0728.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0012_auto_20200619_0545.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0013_auto_20201207_0846.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0014_auto_20201221_0905.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/0015_auto_20220318_1608.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/migrations/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/models.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/serializers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/authorizations/validators.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/decorators.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/etags.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/introspection.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/models.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/registry.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/signals.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/checks.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/choices.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/client.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/compat.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/conf/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/conf/api.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/constants.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/db/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/db/operations.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/decorators.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/descriptors.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/doc.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/exception_handling.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/exceptions.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/fields.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/filters.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/filtersets.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/generators.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/geo.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/cache.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/fields.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/files.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/geojson.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/polymorphic.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/query.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/utils.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/view.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/locale/nl/LC_MESSAGES/django.mo +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/locale/nl/LC_MESSAGES/django.po +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/management/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/management/commands/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/management/commands/generate_autorisaties.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/management/commands/generate_notificaties.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/management/commands/generate_swagger.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/management/commands/patch_error_contenttypes.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/management/commands/use_external_components.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/migrations/0001_initial.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/migrations/0002_apicredential.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/migrations/0003_auto_20190417_1145.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/migrations/0004_auto_20190517_0903.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/migrations/0005_auto_20190614_1346.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/migrations/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/mocks.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/models.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/api/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/api/urls.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/api/views.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/apps.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/constants.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/handlers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0001_initial.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0002_subscription__subscription.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0003_auto_20190319_1048.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0004_auto_20190325_1313.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0005_fix_default_nrc.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0006_auto_20190417_1142.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0007_auto_20190429_1442.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0008_auto_20190502_0415.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0009_auto_20190729_0427.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/0010_auto_20220704_1419.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/migrations/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/notifications/models.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/oas.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/pagination.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/permissions.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/polymorphism.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/routers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/schema.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/scopes.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/search.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/serializers.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/css/admin/admin_overrides.css +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/css/screen.css +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/ico/favicon.png +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/img/vng.svg +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/LICENSE.txt +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/css/all.css +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/css/all.min.css +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.eot +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.svg +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.eot +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.svg +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.eot +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.svg +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/static/vng_api_common/libs/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/admin/base_site.html +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/api_schema_to_markdown_table.md +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/autorisaties.md +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/includes/kanalen_card.html +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/index.html +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/master.html +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/notificaties.md +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/ref/error_detail.html +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/ref/scopes.html +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templates/vng_api_common/view_config.html +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templatetags/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/templatetags/vng_api_common.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/__init__.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/auth.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/caching.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/schema.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/urls.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/urls.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/utils.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/validators.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/version.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/views.py +0 -0
- {commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/viewsets.py +0 -0
@@ -2,6 +2,11 @@
|
|
2
2
|
Change history
|
3
3
|
==============
|
4
4
|
|
5
|
+
1.13.4 (2024-10-25)
|
6
|
+
-------------------
|
7
|
+
|
8
|
+
* Move AuthMiddleware to authorizations app, to avoid unnecessary migrations for projects that don't use ``vng_api_common.authorizations``
|
9
|
+
|
5
10
|
1.13.3 (2024-09-05)
|
6
11
|
-------------------
|
7
12
|
|
@@ -109,6 +109,7 @@ vng_api_common/audittrails/migrations/__init__.py
|
|
109
109
|
vng_api_common/audittrails/migrations/_operations.py
|
110
110
|
vng_api_common/authorizations/__init__.py
|
111
111
|
vng_api_common/authorizations/admin.py
|
112
|
+
vng_api_common/authorizations/middleware.py
|
112
113
|
vng_api_common/authorizations/models.py
|
113
114
|
vng_api_common/authorizations/serializers.py
|
114
115
|
vng_api_common/authorizations/validators.py
|
@@ -10,9 +10,9 @@ from rest_framework.response import Response
|
|
10
10
|
from rest_framework.test import APIRequestFactory
|
11
11
|
from rest_framework.views import APIView
|
12
12
|
|
13
|
+
from vng_api_common.authorizations.middleware import JWTAuth
|
13
14
|
from vng_api_common.authorizations.models import Applicatie, Autorisatie
|
14
15
|
from vng_api_common.constants import ComponentTypes
|
15
|
-
from vng_api_common.middleware import JWTAuth
|
16
16
|
from vng_api_common.permissions import BaseAuthRequired
|
17
17
|
from vng_api_common.scopes import Scope
|
18
18
|
from vng_api_common.tests import generate_jwt_auth
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "1.13.4"
|
@@ -1,5 +1,3 @@
|
|
1
|
-
# https://pyjwt.readthedocs.io/en/latest/usage.html#reading-headers-without-validation
|
2
|
-
# -> we can put the organization/service in the headers itself
|
3
1
|
import logging
|
4
2
|
from typing import Any, Dict, Iterable, List, Optional
|
5
3
|
|
@@ -11,20 +9,20 @@ from django.utils.translation import gettext as _
|
|
11
9
|
import jwt
|
12
10
|
from djangorestframework_camel_case.util import underscoreize
|
13
11
|
from rest_framework.exceptions import PermissionDenied
|
14
|
-
from rest_framework.response import Response
|
15
12
|
from zds_client.client import ClientError
|
16
13
|
|
17
|
-
from .
|
18
|
-
|
19
|
-
from
|
20
|
-
from
|
21
|
-
from .
|
14
|
+
from vng_api_common.constants import VertrouwelijkheidsAanduiding
|
15
|
+
|
16
|
+
from ..models import JWTSecret
|
17
|
+
from ..utils import get_uuid_from_path
|
18
|
+
from .models import Applicatie, AuthorizationsConfig, Autorisatie
|
19
|
+
from .serializers import ApplicatieUuidSerializer
|
22
20
|
|
23
21
|
logger = logging.getLogger(__name__)
|
24
22
|
|
25
23
|
|
26
24
|
class JWTAuth:
|
27
|
-
def __init__(self, encoded: str = None):
|
25
|
+
def __init__(self, encoded: Optional[str] = None):
|
28
26
|
self.encoded = encoded
|
29
27
|
|
30
28
|
@property
|
@@ -152,7 +150,7 @@ class JWTAuth:
|
|
152
150
|
return self._payload
|
153
151
|
|
154
152
|
@property
|
155
|
-
def client_id(self) -> str:
|
153
|
+
def client_id(self) -> Optional[str]:
|
156
154
|
if not self.payload:
|
157
155
|
return None
|
158
156
|
return self.payload["client_id"]
|
@@ -235,27 +233,3 @@ class AuthMiddleware:
|
|
235
233
|
encoded = None
|
236
234
|
|
237
235
|
request.jwt_auth = JWTAuth(encoded)
|
238
|
-
|
239
|
-
|
240
|
-
class APIVersionHeaderMiddleware:
|
241
|
-
"""
|
242
|
-
Include a header specifying the API-version
|
243
|
-
"""
|
244
|
-
|
245
|
-
def __init__(self, get_response=None):
|
246
|
-
self.get_response = get_response
|
247
|
-
|
248
|
-
def __call__(self, request):
|
249
|
-
if self.get_response is None:
|
250
|
-
return None
|
251
|
-
|
252
|
-
response = self.get_response(request)
|
253
|
-
|
254
|
-
# not an API response, exit early
|
255
|
-
if not isinstance(response, Response):
|
256
|
-
return response
|
257
|
-
|
258
|
-
# set the header
|
259
|
-
response[VERSION_HEADER] = settings.API_VERSION
|
260
|
-
|
261
|
-
return response
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# https://pyjwt.readthedocs.io/en/latest/usage.html#reading-headers-without-validation
|
2
|
+
# -> we can put the organization/service in the headers itself
|
3
|
+
import logging
|
4
|
+
|
5
|
+
from django.conf import settings
|
6
|
+
|
7
|
+
from rest_framework.response import Response
|
8
|
+
|
9
|
+
from .constants import VERSION_HEADER
|
10
|
+
|
11
|
+
logger = logging.getLogger(__name__)
|
12
|
+
|
13
|
+
|
14
|
+
class APIVersionHeaderMiddleware:
|
15
|
+
"""
|
16
|
+
Include a header specifying the API-version
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, get_response=None):
|
20
|
+
self.get_response = get_response
|
21
|
+
|
22
|
+
def __call__(self, request):
|
23
|
+
if self.get_response is None:
|
24
|
+
return None
|
25
|
+
|
26
|
+
response = self.get_response(request)
|
27
|
+
|
28
|
+
# not an API response, exit early
|
29
|
+
if not isinstance(response, Response):
|
30
|
+
return response
|
31
|
+
|
32
|
+
# set the header
|
33
|
+
response[VERSION_HEADER] = settings.API_VERSION
|
34
|
+
|
35
|
+
return response
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "1.13.3"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/bin/use_external_components
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
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_cache_headers.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_check_query_params.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_content_type_headers.py
RENAMED
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_gegevensgroepen.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_get_resource.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_publish_validator.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_schema_root_tags.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/tests/test_server_errors.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/__init__.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/permissions.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/serializers.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/urls.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/api/views.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/audittrails/apps.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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/__init__.py
RENAMED
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/etags.py
RENAMED
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/models.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/registry.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/caching/signals.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/conf/__init__.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/conf/api.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/constants.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/db/__init__.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/db/operations.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/decorators.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/descriptors.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/exceptions.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/filtersets.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/generators.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/cache.py
RENAMED
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/files.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/query.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/utils.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/inspectors/view.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
|
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
|
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
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/pagination.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/permissions.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/polymorphism.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/serializers.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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/__init__.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/auth.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/caching.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/schema.py
RENAMED
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/tests/urls.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/validators.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{commonground_api_common-1.13.3 → commonground_api_common-1.13.4}/vng_api_common/viewsets.py
RENAMED
File without changes
|