lx-annotate 1.2.0__tar.gz → 1.2.2__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.
Files changed (317) hide show
  1. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/.gitignore +2 -0
  2. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/PKG-INFO +6 -3
  3. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/README.md +3 -0
  4. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/api_urls.py +25 -0
  5. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/apps.py +11 -5
  6. lx_annotate-1.2.2/lx_annotate/celery.py +58 -0
  7. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/checks.py +20 -0
  8. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_jobs.py +61 -3
  9. lx_annotate-1.2.2/lx_annotate/management/commands/check_migration_compatibility.py +45 -0
  10. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migration_history_safety.py +25 -0
  11. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/permissions.py +31 -0
  12. lx_annotate-1.2.2/lx_annotate/settings/oidc.py +12 -0
  13. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/settings/settings_base.py +29 -0
  14. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/settings/settings_dev.py +3 -0
  15. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/settings/settings_prod.py +7 -1
  16. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/views/administration.py +40 -3
  17. lx_annotate-1.2.2/lx_annotate/views/anonymization_overview.py +100 -0
  18. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/views/hub_export.py +18 -6
  19. lx_annotate-1.2.2/lx_annotate/views/video_state_repair.py +161 -0
  20. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/pyproject.toml +4 -3
  21. lx_annotate-1.2.2/staticfiles/AdministrationPage.css +1 -0
  22. lx_annotate-1.2.2/staticfiles/AdministrationPage.js +1 -0
  23. lx_annotate-1.2.2/staticfiles/AnonymizationCorrectionComponent.css +1 -0
  24. lx_annotate-1.2.2/staticfiles/AnonymizationCorrectionComponent.js +1 -0
  25. lx_annotate-1.2.2/staticfiles/AnonymizationOverview.css +1 -0
  26. lx_annotate-1.2.2/staticfiles/AnonymizationOverview.js +1 -0
  27. lx_annotate-1.2.2/staticfiles/AnonymizationValidationComponent.css +1 -0
  28. lx_annotate-1.2.2/staticfiles/AnonymizationValidationComponent.js +1 -0
  29. lx_annotate-1.2.2/staticfiles/FrameAnnotation.css +1 -0
  30. lx_annotate-1.2.2/staticfiles/FrameAnnotation.js +1 -0
  31. lx_annotate-1.2.2/staticfiles/HubExport.css +1 -0
  32. lx_annotate-1.2.2/staticfiles/HubExport.js +1 -0
  33. lx_annotate-1.2.2/staticfiles/ReportingShell.css +1 -0
  34. lx_annotate-1.2.2/staticfiles/ReportingShell.js +1 -0
  35. lx_annotate-1.2.2/staticfiles/VideoExamination.css +1 -0
  36. lx_annotate-1.2.2/staticfiles/VideoExamination.js +1 -0
  37. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/SETUP_GUIDE.html +1 -1
  38. lx_annotate-1.2.2/staticfiles/docs/_sources/guides/encrypted-model-weights-inference.md.txt +52 -0
  39. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/wheel-deployment.md.txt +50 -0
  40. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/documentation_options.js +1 -1
  41. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/api/index.html +2 -2
  42. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/genindex.html +2 -32
  43. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/ai-training-data-export.html +1 -1
  44. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/anonymization-validation-correction-workflow.html +1 -1
  45. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/asset-deployment.html +1 -1
  46. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/core-concept-contract.html +1 -1
  47. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/core-concept-readiness-verdict.html +1 -1
  48. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/core-concept-type-matrix.html +1 -1
  49. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/deployment-strategy.html +1 -1
  50. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/dtypes-findings-migration.html +1 -1
  51. lx_annotate-1.2.2/staticfiles/docs/guides/encrypted-model-weights-inference.html +367 -0
  52. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/encrypted-storage-process.html +1 -1
  53. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/frame-annotation-availability.html +1 -1
  54. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/general-documentation.html +1 -1
  55. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/hub-export-workflow.html +1 -1
  56. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/hub-storage-load-balancing.html +1 -1
  57. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/openapi-type-generation.html +1 -1
  58. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/pypi.html +1 -1
  59. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/reporting-shell-aaa-testing.html +1 -1
  60. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/reporting-template-requirements-page.html +1 -1
  61. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/runtime-environment-contract-test.html +1 -1
  62. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/secure-backup-disaster-recovery.html +1 -1
  63. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/segment-annotation-workflow.html +1 -1
  64. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/terminology-delivery.html +1 -1
  65. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/guides/wheel-deployment.html +48 -1
  66. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/index.html +2 -1
  67. lx_annotate-1.2.2/staticfiles/docs/objects.inv +0 -0
  68. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/py-modindex.html +1 -1
  69. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/search.html +1 -1
  70. lx_annotate-1.2.2/staticfiles/docs/searchindex.js +1 -0
  71. lx_annotate-1.2.2/staticfiles/main.js +39 -0
  72. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/useAuthenticatedVideoStream.js +8 -8
  73. lx_annotate-1.2.2/uv.lock +5751 -0
  74. lx_annotate-1.2.0/lx_annotate/celery.py +0 -14
  75. lx_annotate-1.2.0/staticfiles/AdministrationPage.css +0 -1
  76. lx_annotate-1.2.0/staticfiles/AdministrationPage.js +0 -1
  77. lx_annotate-1.2.0/staticfiles/AnonymizationCorrectionComponent.css +0 -1
  78. lx_annotate-1.2.0/staticfiles/AnonymizationCorrectionComponent.js +0 -1
  79. lx_annotate-1.2.0/staticfiles/AnonymizationOverview.css +0 -1
  80. lx_annotate-1.2.0/staticfiles/AnonymizationOverview.js +0 -1
  81. lx_annotate-1.2.0/staticfiles/AnonymizationValidationComponent.css +0 -1
  82. lx_annotate-1.2.0/staticfiles/AnonymizationValidationComponent.js +0 -1
  83. lx_annotate-1.2.0/staticfiles/FrameAnnotation.css +0 -1
  84. lx_annotate-1.2.0/staticfiles/FrameAnnotation.js +0 -1
  85. lx_annotate-1.2.0/staticfiles/HubExport.css +0 -1
  86. lx_annotate-1.2.0/staticfiles/HubExport.js +0 -1
  87. lx_annotate-1.2.0/staticfiles/ReportingShell.css +0 -1
  88. lx_annotate-1.2.0/staticfiles/ReportingShell.js +0 -1
  89. lx_annotate-1.2.0/staticfiles/VideoExamination.css +0 -1
  90. lx_annotate-1.2.0/staticfiles/VideoExamination.js +0 -1
  91. lx_annotate-1.2.0/staticfiles/docs/objects.inv +0 -0
  92. lx_annotate-1.2.0/staticfiles/docs/searchindex.js +0 -1
  93. lx_annotate-1.2.0/staticfiles/main.js +0 -39
  94. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/LICENSE +0 -0
  95. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/__init__.py +0 -0
  96. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/admin.py +0 -0
  97. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/asgi.py +0 -0
  98. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/cli.py +0 -0
  99. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/dtypes_api_urls.py +0 -0
  100. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/file_watcher.py +0 -0
  101. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/__init__.py +0 -0
  102. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_audit.py +0 -0
  103. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_cleanup.py +0 -0
  104. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_contracts.py +0 -0
  105. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_envelope.py +0 -0
  106. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_health.py +0 -0
  107. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_payloads.py +0 -0
  108. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_reconciliation.py +0 -0
  109. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_state.py +0 -0
  110. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/hub_export_worker.py +0 -0
  111. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/node_provisioning.py +0 -0
  112. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_balance_worker.py +0 -0
  113. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_ingest.py +0 -0
  114. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_orchestration.py +0 -0
  115. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_provider.py +0 -0
  116. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_publication.py +0 -0
  117. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_reconciliation.py +0 -0
  118. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_recovery.py +0 -0
  119. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_rekey.py +0 -0
  120. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_report_provider.py +0 -0
  121. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_resolver.py +0 -0
  122. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_telemetry.py +0 -0
  123. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/storage_transfer_client.py +0 -0
  124. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/hub/transfer_transport.py +0 -0
  125. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/__init__.py +0 -0
  126. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/__init__.py +0 -0
  127. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/check_hub_export_health.py +0 -0
  128. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/dispatch_hub_export_recovery.py +0 -0
  129. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/export_openapi.py +0 -0
  130. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/export_route_manifest.py +0 -0
  131. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/provision_hub_nodes.py +0 -0
  132. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/reap_verified_hub_exports.py +0 -0
  133. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/recover_runtime_data.py +0 -0
  134. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/repair_legacy_migration_history.py +0 -0
  135. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/repair_managed_payloads.py +0 -0
  136. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/run_filewatcher.py +0 -0
  137. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/runtime_acceptance.py +0 -0
  138. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/start_filewatcher.py +0 -0
  139. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/management/commands/verify_encrypted_storage.py +0 -0
  140. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/middleware/__init__.py +0 -0
  141. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/middleware/lookup_tracker.py +0 -0
  142. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/0001_outboundhubtransferjob.py +0 -0
  143. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/0002_outboundhubtransferjob_local_cleanup_fields.py +0 -0
  144. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/0003_outboundhubtransferjob_failure_class.py +0 -0
  145. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/0004_storagenodeactionreceipt.py +0 -0
  146. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/0005_storageoperatordispatchreceipt.py +0 -0
  147. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/0006_storageartifactpublication.py +0 -0
  148. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/0007_outbound_hub_receipt_cleanup.py +0 -0
  149. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/__init__.py +0 -0
  150. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/migrations/max_migration.txt +0 -0
  151. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/models.py +0 -0
  152. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/operational_support.py +0 -0
  153. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/runtime_commands/__init__.py +0 -0
  154. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/serializers.py +0 -0
  155. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/services/__init__.py +0 -0
  156. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/services/access_management.py +0 -0
  157. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/services/runtime_recovery.py +0 -0
  158. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/settings/__init__.py +0 -0
  159. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/settings/config.py +0 -0
  160. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/settings/secret_key.py +0 -0
  161. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/settings/settings_test.py +0 -0
  162. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/signals.py +0 -0
  163. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/storage/__init__.py +0 -0
  164. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/storage/encrypted.py +0 -0
  165. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/storage/encryption.py +0 -0
  166. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/tasks.py +0 -0
  167. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/templates/base.html +0 -0
  168. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/urls.py +0 -0
  169. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/views/__init__.py +0 -0
  170. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/views/application_settings.py +0 -0
  171. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/views/frame_annotation.py +0 -0
  172. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/views/quarantine.py +0 -0
  173. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/views/study_export.py +0 -0
  174. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/lx_annotate/wsgi.py +0 -0
  175. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/manage.py +0 -0
  176. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/.vite/manifest.json +0 -0
  177. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AboutUs.js +0 -0
  178. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AiDatasetBucketsPage.css +0 -0
  179. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AiDatasetBucketsPage.js +0 -0
  180. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AiDatasetSettingsPage.css +0 -0
  181. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AiDatasetSettingsPage.js +0 -0
  182. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AnnotationDashboard.css +0 -0
  183. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AnnotationDashboard.js +0 -0
  184. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AnnotationDashboard2.js +0 -0
  185. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AnonymizationEvaluation.css +0 -0
  186. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AnonymizationEvaluation.js +0 -0
  187. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AnonymizationMetrics.css +0 -0
  188. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/AnonymizationMetrics.js +0 -0
  189. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ApplicationSettingsPage.css +0 -0
  190. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ApplicationSettingsPage.js +0 -0
  191. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/CaseResolutionPage.js +0 -0
  192. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/CaseSetupPage.css +0 -0
  193. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/CaseSetupPage.js +0 -0
  194. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ColoReg.png +0 -0
  195. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Comfortaa-Bold.ttf +0 -0
  196. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Comfortaa-Regular.ttf +0 -0
  197. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Dashboard.js +0 -0
  198. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Documentation.css +0 -0
  199. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Documentation.js +0 -0
  200. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Export.css +0 -0
  201. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Export.js +0 -0
  202. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/FinalizedResultPage.js +0 -0
  203. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/FindingsCapturePage.css +0 -0
  204. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/FindingsCapturePage.js +0 -0
  205. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/FrameSelectorPage.css +0 -0
  206. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/FrameSelectorPage.js +0 -0
  207. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ModelTrainingPage.css +0 -0
  208. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ModelTrainingPage.js +0 -0
  209. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PageOverview.css +0 -0
  210. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PageOverview.js +0 -0
  211. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PatientDocumentsPage.css +0 -0
  212. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PatientDocumentsPage.js +0 -0
  213. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PatientMedicationPage.css +0 -0
  214. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PatientMedicationPage.js +0 -0
  215. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PatientOverview.css +0 -0
  216. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/PatientOverview.js +0 -0
  217. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Profile.js +0 -0
  218. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ReportEditorPage.css +0 -0
  219. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ReportEditorPage.js +0 -0
  220. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ReportExportPage.css +0 -0
  221. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ReportExportPage.js +0 -0
  222. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ReportTemplateBuilderPage.css +0 -0
  223. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ReportTemplateBuilderPage.js +0 -0
  224. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/ReportingWorklistPage.js +0 -0
  225. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/StudyCohortPage.css +0 -0
  226. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/StudyCohortPage.js +0 -0
  227. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Timeline.css +0 -0
  228. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/Timeline.js +0 -0
  229. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/administrationApi.js +0 -0
  230. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/aiDatasetApi.js +0 -0
  231. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/annotationPrincipal.js +0 -0
  232. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/applicationSettingsApi.js +0 -0
  233. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/casesApi.js +0 -0
  234. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/dateHelpers.js +0 -0
  235. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/.buildinfo +0 -0
  236. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/SETUP_GUIDE.md.txt +0 -0
  237. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/api/index.md.txt +0 -0
  238. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/ai-training-data-export.md.txt +0 -0
  239. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/anonymization-validation-correction-workflow.md.txt +0 -0
  240. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/asset-deployment.md.txt +0 -0
  241. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/core-concept-contract.md.txt +0 -0
  242. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/core-concept-readiness-verdict.md.txt +0 -0
  243. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/core-concept-type-matrix.md.txt +0 -0
  244. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/deployment-strategy.md.txt +0 -0
  245. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/dtypes-findings-migration.md.txt +0 -0
  246. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/encrypted-storage-process.md.txt +0 -0
  247. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/frame-annotation-availability.md.txt +0 -0
  248. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/general-documentation.md.txt +0 -0
  249. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/hub-export-workflow.md.txt +0 -0
  250. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/hub-storage-load-balancing.md.txt +0 -0
  251. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/openapi-type-generation.md.txt +0 -0
  252. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/pypi.md.txt +0 -0
  253. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/reporting-shell-aaa-testing.md.txt +0 -0
  254. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/reporting-template-requirements-page.md.txt +0 -0
  255. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/runtime-environment-contract-test.md.txt +0 -0
  256. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/secure-backup-disaster-recovery.md.txt +0 -0
  257. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/segment-annotation-workflow.md.txt +0 -0
  258. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/guides/terminology-delivery.md.txt +0 -0
  259. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_sources/index.md.txt +0 -0
  260. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/basic.css +0 -0
  261. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/check-solid.svg +0 -0
  262. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/clipboard.min.js +0 -0
  263. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/copy-button.svg +0 -0
  264. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/copybutton.css +0 -0
  265. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/copybutton.js +0 -0
  266. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/copybutton_funcs.js +0 -0
  267. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/debug.css +0 -0
  268. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/doctools.js +0 -0
  269. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/file.png +0 -0
  270. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/language_data.js +0 -0
  271. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/minus.png +0 -0
  272. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/plus.png +0 -0
  273. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/pygments.css +0 -0
  274. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/scripts/furo-extensions.js +0 -0
  275. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/scripts/furo.js +0 -0
  276. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/scripts/furo.js.LICENSE.txt +0 -0
  277. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/scripts/furo.js.map +0 -0
  278. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/searchtools.js +0 -0
  279. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/skeleton.css +0 -0
  280. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/sphinx_highlight.js +0 -0
  281. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/styles/furo-extensions.css +0 -0
  282. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/styles/furo-extensions.css.map +0 -0
  283. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/styles/furo.css +0 -0
  284. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/docs/_static/styles/furo.css.map +0 -0
  285. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/examinationStore.js +0 -0
  286. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/img/favicon.png +0 -0
  287. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/index.js +0 -0
  288. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/knowledgeBaseGraphApi.js +0 -0
  289. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/main.css +0 -0
  290. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/mediaTypeStore.js +0 -0
  291. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/mediaUrls.js +0 -0
  292. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/nucleo-icons.eot +0 -0
  293. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/nucleo-icons.svg +0 -0
  294. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/nucleo-icons.ttf +0 -0
  295. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/nucleo-icons.woff +0 -0
  296. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/nucleo-icons.woff2 +0 -0
  297. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/patientExaminationStore.js +0 -0
  298. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/patientService.js +0 -0
  299. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/patientStore.js +0 -0
  300. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/pdf.js +0 -0
  301. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/pdf.worker.min.js +0 -0
  302. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/pdf.worker.min.mjs +0 -0
  303. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/reportTemplateLifecycleContext.js +0 -0
  304. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/reportingError.js +0 -0
  305. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/reportingExaminationResolution.js +0 -0
  306. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/reportingIndicationContract.js +0 -0
  307. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/reportingPresentation.js +0 -0
  308. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/reportingTimelineApi.js +0 -0
  309. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/studyApi.js +0 -0
  310. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/studyCohortExportStore.js +0 -0
  311. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/terminologyStore.js +0 -0
  312. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/timeHelpers.js +0 -0
  313. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/useDebug.js +0 -0
  314. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/useFindingSelectors.js +0 -0
  315. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/useReportTemplates.css +0 -0
  316. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/useReportTemplates.js +0 -0
  317. {lx_annotate-1.2.0 → lx_annotate-1.2.2}/staticfiles/useReportingKnowledgeBase.js +0 -0
@@ -179,3 +179,5 @@ docs/_build/
179
179
  # Feature-tracking coordination state is local and must not enter releases.
180
180
  feature-tracking/.locks/
181
181
  feature-tracking/.messages/
182
+ # Local dependency artifacts and retired candidate evidence.
183
+ /vendor/wheels/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lx-annotate
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: This webapp provides a frontend interface for pseudonymizing and annotating data and applying AI predictions.
5
5
  Author-email: Max Hild <hild_m@ukw.de>, "Thomas J. Lux" <lux_t1@ukw.de>
6
6
  Maintainer: Hamza Zahid
@@ -28,9 +28,9 @@ Requires-Dist: django-webpack-loader>=0.7.0
28
28
  Requires-Dist: django==6.0.3
29
29
  Requires-Dist: djangorestframework>=3.12.4
30
30
  Requires-Dist: drf-spectacular>=0.28.0
31
- Requires-Dist: endoreg-db==1.1.5
31
+ Requires-Dist: endoreg-db==1.1.9
32
32
  Requires-Dist: gunicorn>=23.0.0
33
- Requires-Dist: lx-dtypes>=0.2.27
33
+ Requires-Dist: lx-dtypes==0.2.36
34
34
  Requires-Dist: mozilla-django-oidc>=4.0.1
35
35
  Requires-Dist: numpy>=1.21.0
36
36
  Requires-Dist: pillow>=9.0.0
@@ -257,6 +257,9 @@ Operational requirements:
257
257
  - `SERVE_WITH_NGINX=true` and `NGINX_PROTECTED_MEDIA_URL` must match the Nginx
258
258
  protected-media configuration
259
259
  - the `ffmpeg_media` Celery worker must be running and able to reach Redis
260
+ - every worker on that Redis broker must use the same
261
+ `CELERY_VISIBILITY_TIMEOUT_SECONDS` value, and it must exceed both the
262
+ longest late-ack task and `FFMPEG_TRANSCODE_TIMEOUT_SECONDS`
260
263
  - the master key must be readable for encrypted storage and HLS key operations
261
264
  - `check_production_hls_readiness` must pass against the production database
262
265
 
@@ -170,6 +170,9 @@ Operational requirements:
170
170
  - `SERVE_WITH_NGINX=true` and `NGINX_PROTECTED_MEDIA_URL` must match the Nginx
171
171
  protected-media configuration
172
172
  - the `ffmpeg_media` Celery worker must be running and able to reach Redis
173
+ - every worker on that Redis broker must use the same
174
+ `CELERY_VISIBILITY_TIMEOUT_SECONDS` value, and it must exceed both the
175
+ longest late-ack task and `FFMPEG_TRANSCODE_TIMEOUT_SECONDS`
173
176
  - the master key must be readable for encrypted storage and HLS key operations
174
177
  - `check_production_hls_readiness` must pass against the production database
175
178
 
@@ -12,6 +12,10 @@ from lx_annotate.views.administration import (
12
12
  storage_operator_control,
13
13
  storage_placement_preview,
14
14
  )
15
+ from lx_annotate.views.anonymization_overview import (
16
+ LifecycleAnonymizationOverviewView,
17
+ LifecycleUploadJobRetryView,
18
+ )
15
19
  from lx_annotate.views.application_settings import primary_annotation_settings_detail
16
20
  from lx_annotate.views.frame_annotation import BoundedDecodedFrameStreamView
17
21
  from lx_annotate.views.hub_export import (
@@ -23,8 +27,29 @@ from lx_annotate.views.hub_export import (
23
27
  )
24
28
  from lx_annotate.views.quarantine import quarantine_overview
25
29
  from lx_annotate.views.study_export import study_export_options, study_export_xlsx
30
+ from lx_annotate.views.video_state_repair import VideoStateRepairView
26
31
 
27
32
  urlpatterns = [
33
+ path(
34
+ "anonymization/items/overview/",
35
+ LifecycleAnonymizationOverviewView.as_view(),
36
+ name="anonymization_items_overview",
37
+ ),
38
+ path(
39
+ "anonymization/upload-jobs/<uuid:job_id>/retry/",
40
+ LifecycleUploadJobRetryView.as_view(),
41
+ name="anonymization_upload_job_retry",
42
+ ),
43
+ path(
44
+ "runtime/videos/repair/",
45
+ VideoStateRepairView.as_view(),
46
+ name="runtime-video-state-repair-all",
47
+ ),
48
+ path(
49
+ "runtime/videos/<int:pk>/repair/",
50
+ VideoStateRepairView.as_view(),
51
+ name="runtime-video-state-repair",
52
+ ),
28
53
  path(
29
54
  "media/studies/case-export/options/",
30
55
  study_export_options,
@@ -1,9 +1,12 @@
1
- from django.apps import AppConfig
2
- from django.conf import settings
1
+ from __future__ import annotations
2
+
3
3
  import os
4
- from pathlib import Path
5
4
  import sys
6
5
  import threading
6
+ from pathlib import Path
7
+
8
+ from django.apps import AppConfig
9
+ from django.conf import settings
7
10
 
8
11
 
9
12
  class LxAnnotateConfig(AppConfig):
@@ -12,6 +15,7 @@ class LxAnnotateConfig(AppConfig):
12
15
 
13
16
  _SKIP_RUNTIME_CHECK_COMMANDS = {
14
17
  "check",
18
+ "check_migration_compatibility",
15
19
  "collectstatic",
16
20
  "dbshell",
17
21
  "emergency_storage_relief",
@@ -49,8 +53,10 @@ class LxAnnotateConfig(AppConfig):
49
53
 
50
54
  # This is running in development server only. On luxnix, filewatcher is started via systemd service.
51
55
  def ready(self):
52
- from . import checks
53
- from . import signals # noqa: F401
56
+ from . import (
57
+ checks,
58
+ signals, # noqa: F401
59
+ )
54
60
 
55
61
  command = sys.argv[1] if len(sys.argv) > 1 else ""
56
62
  if not self._should_skip_runtime_checks(command):
@@ -0,0 +1,58 @@
1
+ from __future__ import annotations
2
+
3
+ import os
4
+ from typing import cast
5
+
6
+ from celery import Celery
7
+ from django.conf import settings
8
+ from django.core.exceptions import ImproperlyConfigured
9
+
10
+ os.environ.setdefault(
11
+ "DJANGO_SETTINGS_MODULE",
12
+ os.environ.get("DJANGO_SETTINGS_MODULE", "lx_annotate.settings.settings_prod"),
13
+ )
14
+
15
+ app = Celery("lx_annotate")
16
+ app.config_from_object("django.conf:settings", namespace="CELERY")
17
+ # Celery does not register visibility_timeout as a namespaced Django setting,
18
+ # so preserve the documented top-level value explicitly on the real app.
19
+ visibility_timeout = int(getattr(settings, "CELERY_VISIBILITY_TIMEOUT", 60 * 60 * 25))
20
+ if visibility_timeout < 60 * 60 * 25:
21
+ raise ImproperlyConfigured(
22
+ "CELERY_VISIBILITY_TIMEOUT must be at least 90000 seconds.",
23
+ )
24
+ missing_transport_options = object()
25
+
26
+
27
+ def _visibility_transport_options(setting_name: str) -> dict[str, object]:
28
+ configured: object = getattr(settings, setting_name, missing_transport_options)
29
+ if configured is missing_transport_options:
30
+ options: dict[str, object] = {}
31
+ elif isinstance(configured, dict):
32
+ options = cast(dict[str, object], configured.copy())
33
+ else:
34
+ raise ImproperlyConfigured(f"{setting_name} must be a mapping.")
35
+
36
+ if (
37
+ configured is not missing_transport_options
38
+ and options.get("visibility_timeout") != visibility_timeout
39
+ ):
40
+ raise ImproperlyConfigured(
41
+ f"{setting_name} visibility_timeout must equal CELERY_VISIBILITY_TIMEOUT.",
42
+ )
43
+ options["visibility_timeout"] = visibility_timeout
44
+ return options
45
+
46
+
47
+ broker_transport_options = _visibility_transport_options(
48
+ "CELERY_BROKER_TRANSPORT_OPTIONS",
49
+ )
50
+ result_backend_transport_options = _visibility_transport_options(
51
+ "CELERY_RESULT_BACKEND_TRANSPORT_OPTIONS",
52
+ )
53
+ app.conf.update(
54
+ visibility_timeout=visibility_timeout,
55
+ broker_transport_options=broker_transport_options,
56
+ result_backend_transport_options=result_backend_transport_options,
57
+ )
58
+ app.autodiscover_tasks()
@@ -15,6 +15,11 @@ from django.db.utils import OperationalError, ProgrammingError
15
15
  from endoreg_db.services.environment_readiness import check_environment_readiness
16
16
  from endoreg_db.utils.rust_backend import has_native_capability
17
17
 
18
+ from lx_annotate.migration_history_safety import (
19
+ MigrationHistorySafetyError,
20
+ check_migration_compatibility,
21
+ )
22
+
18
23
 
19
24
  class DatabaseIntrospectionWithDescriptions(Protocol):
20
25
  def table_names(self) -> list[str]: ...
@@ -538,10 +543,25 @@ def lx_annotate_environment_checks(app_configs, **kwargs): # type: ignore[unuse
538
543
  return messages
539
544
 
540
545
 
546
+ def lx_annotate_migration_compatibility_checks(app_configs, **kwargs):
547
+ """Guard package rollback independently of required-column checks."""
548
+ try:
549
+ check_migration_compatibility(connections[DEFAULT_DB_ALIAS])
550
+ except MigrationHistorySafetyError as exc:
551
+ return [
552
+ Critical(
553
+ str(exc),
554
+ id="lx_annotate.migration_history_incompatible",
555
+ ),
556
+ ]
557
+ return []
558
+
559
+
541
560
  def assert_runtime_checks_pass() -> None:
542
561
  critical_messages = [
543
562
  message
544
563
  for check in (
564
+ lx_annotate_migration_compatibility_checks,
545
565
  lx_annotate_endoreg_db_schema_checks,
546
566
  lx_annotate_endoreg_db_constraint_checks,
547
567
  lx_annotate_environment_checks,
@@ -9,6 +9,7 @@ from django.db.models import QuerySet
9
9
  from django.utils import timezone
10
10
  from endoreg_db.models import Center, NetworkNode, RawPdfFile, VideoFile
11
11
  from endoreg_db.models.state.video_segment_validation import SegmentAnnotationStatus
12
+ from rest_framework.exceptions import PermissionDenied
12
13
 
13
14
  from ..models import OutboundHubTransferJob
14
15
  from .hub_export_audit import emit_hub_export_audit_event
@@ -569,6 +570,7 @@ def _collect_video_overview(
569
570
  privacy_records: list[HubExportPrivacyRecord],
570
571
  rejections: list[HubSyncRejection],
571
572
  duplicates: list[HubSyncDuplicate],
573
+ allowed_center_ids: frozenset[int] | None = None,
572
574
  ) -> None:
573
575
  videos = VideoFile.objects.select_related(
574
576
  "state",
@@ -577,6 +579,8 @@ def _collect_video_overview(
577
579
  "sensitive_meta__pseudo_patient",
578
580
  "sensitive_meta__pseudo_patient__gender",
579
581
  ).order_by("-date_created")
582
+ if allowed_center_ids is not None:
583
+ videos = videos.filter(center_id__in=allowed_center_ids)
580
584
  for video in videos:
581
585
  video_id = int(video.pk)
582
586
  readiness = resolve_video_hub_export_state(video)
@@ -643,6 +647,7 @@ def _collect_report_overview(
643
647
  privacy_records: list[HubExportPrivacyRecord],
644
648
  rejections: list[HubSyncRejection],
645
649
  duplicates: list[HubSyncDuplicate],
650
+ allowed_center_ids: frozenset[int] | None = None,
646
651
  ) -> None:
647
652
  reports = RawPdfFile.objects.select_related(
648
653
  "state",
@@ -651,6 +656,8 @@ def _collect_report_overview(
651
656
  "sensitive_meta__pseudo_patient",
652
657
  "sensitive_meta__pseudo_patient__gender",
653
658
  ).order_by("-date_created")
659
+ if allowed_center_ids is not None:
660
+ reports = reports.filter(center_id__in=allowed_center_ids)
654
661
  for report in reports:
655
662
  report_id = int(report.pk)
656
663
  report_job = jobs_by_key.get(("report", report_id))
@@ -766,6 +773,7 @@ def _build_center_sync_summary(
766
773
  processed_files_by_center: dict[str, list[HubProcessedFile]],
767
774
  rejections: list[HubSyncRejection],
768
775
  duplicates: list[HubSyncDuplicate],
776
+ allowed_center_ids: frozenset[int] | None = None,
769
777
  ) -> HubFileSyncSummary:
770
778
  active_nodes_by_center = _active_node_keys_by_center()
771
779
  center_states = [
@@ -777,6 +785,7 @@ def _build_center_sync_summary(
777
785
  duplicates=duplicates,
778
786
  )
779
787
  for center in Center.objects.order_by("center_key", "pk")
788
+ if allowed_center_ids is None or center.pk in allowed_center_ids
780
789
  ]
781
790
  return HubFileSyncSummary(
782
791
  centers=center_states,
@@ -789,7 +798,9 @@ def _build_center_sync_summary(
789
798
  )
790
799
 
791
800
 
792
- def build_hub_export_overview(*, target_node: NetworkNode | None) -> dict[str, Any]:
801
+ def build_hub_export_overview(
802
+ *, target_node: NetworkNode | None, allowed_center_ids: frozenset[int] | None = None
803
+ ) -> dict[str, Any]:
793
804
  source_node = get_default_source_node()
794
805
  hub_nodes = list(get_active_hub_nodes().select_related("owning_center"))
795
806
  selected_target, config_error = _resolve_overview_target(target_node, hub_nodes)
@@ -798,7 +809,9 @@ def build_hub_export_overview(*, target_node: NetworkNode | None) -> dict[str, A
798
809
  items: list[dict[str, Any]] = []
799
810
  privacy_records: list[HubExportPrivacyRecord] = []
800
811
  processed_files_by_center: dict[str, list[HubProcessedFile]] = {
801
- center.center_key: [] for center in Center.objects.order_by("center_key", "pk")
812
+ center.center_key: []
813
+ for center in Center.objects.order_by("center_key", "pk")
814
+ if allowed_center_ids is None or center.pk in allowed_center_ids
802
815
  }
803
816
  rejections: list[HubSyncRejection] = []
804
817
  duplicates: list[HubSyncDuplicate] = []
@@ -807,6 +820,7 @@ def build_hub_export_overview(*, target_node: NetworkNode | None) -> dict[str, A
807
820
  selected_target=selected_target,
808
821
  jobs_by_key=jobs_by_key,
809
822
  processed_files_by_center=processed_files_by_center,
823
+ allowed_center_ids=allowed_center_ids,
810
824
  items=items,
811
825
  privacy_records=privacy_records,
812
826
  rejections=rejections,
@@ -816,6 +830,7 @@ def build_hub_export_overview(*, target_node: NetworkNode | None) -> dict[str, A
816
830
  selected_target=selected_target,
817
831
  jobs_by_key=jobs_by_key,
818
832
  processed_files_by_center=processed_files_by_center,
833
+ allowed_center_ids=allowed_center_ids,
819
834
  items=items,
820
835
  privacy_records=privacy_records,
821
836
  rejections=rejections,
@@ -825,6 +840,7 @@ def build_hub_export_overview(*, target_node: NetworkNode | None) -> dict[str, A
825
840
  items.sort(key=lambda item: (not bool(item["eligible"]), item["filename"]))
826
841
  sync_summary = _build_center_sync_summary(
827
842
  processed_files_by_center=processed_files_by_center,
843
+ allowed_center_ids=allowed_center_ids,
828
844
  rejections=rejections,
829
845
  duplicates=duplicates,
830
846
  )
@@ -868,6 +884,7 @@ def mark_resources_for_hub_upload(
868
884
  resource_refs: list[dict[str, Any]],
869
885
  target_node: NetworkNode,
870
886
  marked_by=None,
887
+ allowed_center_ids: frozenset[int] | None = None,
871
888
  ) -> list[OutboundHubTransferJob]:
872
889
  authenticated_marker = _authenticated_marker(marked_by)
873
890
  source_node = get_default_source_node()
@@ -878,6 +895,7 @@ def mark_resources_for_hub_upload(
878
895
  for ref in resource_refs:
879
896
  resource_kind = _resource_ref_kind(ref)
880
897
  resource_id = _resource_ref_id(ref)
898
+ _require_resource_center(resource_kind, resource_id, allowed_center_ids)
881
899
 
882
900
  if resource_kind == OutboundHubTransferJob.ResourceKind.VIDEO:
883
901
  job, created = _mark_video_for_hub_upload(
@@ -911,18 +929,25 @@ def queue_all_eligible_videos_for_hub_upload(
911
929
  *,
912
930
  target_node: NetworkNode,
913
931
  marked_by: Any,
932
+ allowed_center_ids: frozenset[int] | None = None,
914
933
  ) -> HubEligibleVideoOffloadResult:
915
934
  authenticated_marker = _authenticated_marker(marked_by)
916
935
  source_node = get_default_source_node()
917
936
  if source_node is None:
918
937
  raise ValueError("No active site node is configured for outbound hub export.")
919
938
 
920
- video_ids = list(VideoFile.objects.order_by("pk").values_list("pk", flat=True))
939
+ videos = VideoFile.objects.order_by("pk")
940
+ if allowed_center_ids is not None:
941
+ videos = videos.filter(center_id__in=allowed_center_ids)
942
+ video_ids = list(videos.values_list("pk", flat=True))
921
943
  eligible_count = 0
922
944
  queued_count = 0
923
945
  already_registered_count = 0
924
946
 
925
947
  for video_id in video_ids:
948
+ _require_resource_center(
949
+ HubExportResourceKind.VIDEO, video_id, allowed_center_ids
950
+ )
926
951
  try:
927
952
  job, created = _mark_video_for_hub_upload(
928
953
  resource_id=int(video_id),
@@ -1068,6 +1093,7 @@ def retry_failed_outbound_job(
1068
1093
  *,
1069
1094
  outbound_job_id: str,
1070
1095
  requested_by: Any,
1096
+ allowed_center_ids: frozenset[int] | None = None,
1071
1097
  ) -> HubExportRetryResult:
1072
1098
  authenticated_operator = _authenticated_marker(requested_by)
1073
1099
  source_node = get_default_source_node()
@@ -1082,6 +1108,17 @@ def retry_failed_outbound_job(
1082
1108
  "video_file__state",
1083
1109
  "raw_pdf_file__state",
1084
1110
  ).get(pk=locked_job.pk)
1111
+ match HubExportResourceKind(job.resource_kind):
1112
+ case HubExportResourceKind.VIDEO:
1113
+ resource = job.video_file
1114
+ case HubExportResourceKind.REPORT:
1115
+ resource = job.raw_pdf_file
1116
+ if allowed_center_ids is not None and (
1117
+ resource is None
1118
+ or resource.center_id not in allowed_center_ids
1119
+ or job.source_center_id not in allowed_center_ids
1120
+ ):
1121
+ raise PermissionDenied("Hub transfer is outside the assigned center scope.")
1085
1122
  active_target = require_normal_sender_target_hub()
1086
1123
  if job.target_node_id != active_target.pk:
1087
1124
  raise ValueError(
@@ -1179,11 +1216,13 @@ def unmark_resources_for_hub_upload(
1179
1216
  *,
1180
1217
  resource_refs: list[dict[str, Any]],
1181
1218
  target_node: NetworkNode,
1219
+ allowed_center_ids: frozenset[int] | None = None,
1182
1220
  ) -> int:
1183
1221
  deleted = 0
1184
1222
  for ref in resource_refs:
1185
1223
  resource_kind = _resource_ref_kind(ref)
1186
1224
  resource_id = _resource_ref_id(ref)
1225
+ _require_resource_center(resource_kind, resource_id, allowed_center_ids)
1187
1226
  filters: dict[str, Any] = {"target_node": target_node}
1188
1227
  if resource_kind == OutboundHubTransferJob.ResourceKind.VIDEO:
1189
1228
  filters["video_file_id"] = resource_id
@@ -1197,3 +1236,22 @@ def unmark_resources_for_hub_upload(
1197
1236
  local_status=OutboundHubTransferJob.LocalStatus.MARKED,
1198
1237
  ).delete()[0]
1199
1238
  return deleted
1239
+
1240
+
1241
+ def _require_resource_center(
1242
+ resource_kind: str, resource_id: int, allowed_center_ids: frozenset[int] | None
1243
+ ) -> None:
1244
+ if allowed_center_ids is None:
1245
+ return
1246
+ kind = HubExportResourceKind(resource_kind)
1247
+ match kind:
1248
+ case HubExportResourceKind.VIDEO:
1249
+ resources = VideoFile.objects
1250
+ case HubExportResourceKind.REPORT:
1251
+ resources = RawPdfFile.objects
1252
+ if (
1253
+ not resources.select_for_update()
1254
+ .filter(pk=resource_id, center_id__in=allowed_center_ids)
1255
+ .exists()
1256
+ ):
1257
+ raise PermissionDenied("Resource is outside the assigned center scope.")
@@ -0,0 +1,45 @@
1
+ from __future__ import annotations
2
+
3
+ import json
4
+
5
+ from django.core.management.base import BaseCommand, CommandError, CommandParser
6
+ from django.db import DEFAULT_DB_ALIAS, connections
7
+ from django.utils.connection import ConnectionDoesNotExist
8
+
9
+ from lx_annotate.migration_history_safety import (
10
+ MigrationHistorySafetyError,
11
+ check_migration_compatibility,
12
+ )
13
+
14
+
15
+ class Command(BaseCommand):
16
+ help = (
17
+ "Read-only guard against recorded dependency migrations newer than or "
18
+ "unknown to the installed packages. Run before migrations and startup."
19
+ )
20
+ # Django accepts an empty tag list; django-stubs currently narrows this to str.
21
+ requires_system_checks: list[str] = [] # type: ignore[assignment]
22
+
23
+ def add_arguments(self, parser: CommandParser) -> None:
24
+ parser.add_argument("--database", default=DEFAULT_DB_ALIAS)
25
+
26
+ def handle(self, *args: object, **options: object) -> None:
27
+ using = str(options["database"])
28
+ try:
29
+ plans = check_migration_compatibility(connections[using])
30
+ except (MigrationHistorySafetyError, ConnectionDoesNotExist) as exc:
31
+ raise CommandError(str(exc)) from exc
32
+ self.stdout.write(
33
+ json.dumps(
34
+ {
35
+ "event": "lx_annotate.migration_compatibility",
36
+ "status": "compatible",
37
+ "database": using,
38
+ "apps": [
39
+ {"app_label": plan.app_label, "status": plan.status}
40
+ for plan in plans
41
+ ],
42
+ },
43
+ sort_keys=True,
44
+ ),
45
+ )
@@ -9,6 +9,10 @@ from collections.abc import Collection, Mapping
9
9
  from dataclasses import dataclass
10
10
  from importlib import resources
11
11
 
12
+ from django.db import DatabaseError
13
+ from django.db.backends.base.base import BaseDatabaseWrapper
14
+ from django.db.migrations.recorder import MigrationRecorder
15
+
12
16
  _MIGRATION_FILENAME = re.compile(r"^(?P<name>\d{4}_.+)\.py$")
13
17
 
14
18
 
@@ -482,3 +486,24 @@ def build_repair_plan(
482
486
  ),
483
487
  )
484
488
  return tuple(plans)
489
+
490
+
491
+ def check_migration_compatibility(
492
+ connection: BaseDatabaseWrapper,
493
+ contracts: Collection[MigrationHistoryContract] = CONTRACTS,
494
+ ) -> tuple[MigrationHistoryRepairPlan, ...]:
495
+ """Reject newer/unknown recorded histories without changing the database.
496
+
497
+ Fresh databases and recognized legacy prefixes remain eligible for the
498
+ explicit migration/repair workflow. This does not declare pending migrations
499
+ applied or prove physical schema equivalence.
500
+ """
501
+ manifests = verify_canonical_contract_manifests(contracts)
502
+ try:
503
+ applied = MigrationRecorder(connection).applied_migrations()
504
+ except DatabaseError as exc:
505
+ raise MigrationHistorySafetyError(
506
+ "Unable to inspect recorded migration history "
507
+ f"({type(exc).__name__}); refusing an unverified runtime.",
508
+ ) from exc
509
+ return build_repair_plan(set(applied), contracts, manifests)
@@ -43,3 +43,34 @@ class ExactCenterScopeAdminPermission(BasePermission):
43
43
  def has_permission(self, request: "Request", view: "APIView") -> bool:
44
44
  del view
45
45
  return user_can_administer_center_scope(request.user)
46
+
47
+
48
+ class LifecyclePolicyPermission(BasePermission):
49
+ """Enforce the governed route policy for recovery/export even in DEBUG."""
50
+
51
+ def has_permission(self, request: "Request", view: "APIView") -> bool:
52
+ from endoreg_db.authz.policy import get_needed_role, satisfies
53
+
54
+ user = request.user
55
+ if not user or not user.is_authenticated:
56
+ return False
57
+ match = request.resolver_match
58
+ route = match.url_name if match is not None else type(view).__name__
59
+ method = request.method
60
+ if route is None or method is None:
61
+ return False
62
+ needed = get_needed_role(route, method)
63
+ groups = getattr(user, "groups", None)
64
+ if groups is None:
65
+ return False
66
+ return satisfies(set(groups.values_list("name", flat=True)), needed)
67
+
68
+
69
+ def lifecycle_center_ids(user: Any) -> frozenset[int] | None:
70
+ from endoreg_db.services.center_access import resolve_allowed_center_ids
71
+ from rest_framework.exceptions import PermissionDenied
72
+
73
+ center_ids = resolve_allowed_center_ids(user)
74
+ if center_ids == frozenset():
75
+ raise PermissionDenied("No center membership is assigned.")
76
+ return center_ids
@@ -0,0 +1,12 @@
1
+ from __future__ import annotations
2
+
3
+ REQUIRED_OIDC_SCOPES = ("openid", "email", "profile", "groups")
4
+
5
+
6
+ def oidc_scopes_with_center_groups(configured_scopes: str) -> str:
7
+ """Return configured OIDC scopes plus claims required for center access."""
8
+ scopes = configured_scopes.split()
9
+ for required_scope in REQUIRED_OIDC_SCOPES:
10
+ if required_scope not in scopes:
11
+ scopes.append(required_scope)
12
+ return " ".join(scopes)
@@ -12,6 +12,7 @@ from typing import Any, cast
12
12
 
13
13
  from django.db import models
14
14
  from endoreg_db.config.env import (
15
+ get_ffmpeg_transcode_timeout_seconds,
15
16
  get_hub_transfer_recipient_private_key_files,
16
17
  get_hub_transfer_require_root_owned_private_keys,
17
18
  )
@@ -341,6 +342,30 @@ LX_ANNOTATE_HUB_EXPORT_LOCAL_CLEANUP_POLICY = str(
341
342
  CELERY_BROKER_URL = str(os.getenv("CELERY_BROKER_URL", "") or "").strip()
342
343
  CELERY_RESULT_BACKEND = None
343
344
  CELERY_TASK_IGNORE_RESULT = True
345
+ _CELERY_MINIMUM_VISIBILITY_TIMEOUT_SECONDS = max(
346
+ 60 * 60 * 24,
347
+ get_ffmpeg_transcode_timeout_seconds(),
348
+ ) + (60 * 60)
349
+ try:
350
+ CELERY_VISIBILITY_TIMEOUT = int(
351
+ os.getenv("CELERY_VISIBILITY_TIMEOUT_SECONDS", str(60 * 60 * 25)),
352
+ )
353
+ except (TypeError, ValueError) as error:
354
+ raise RuntimeError(
355
+ "CELERY_VISIBILITY_TIMEOUT_SECONDS must be an integer number of seconds.",
356
+ ) from error
357
+ if CELERY_VISIBILITY_TIMEOUT < _CELERY_MINIMUM_VISIBILITY_TIMEOUT_SECONDS:
358
+ raise RuntimeError(
359
+ "CELERY_VISIBILITY_TIMEOUT_SECONDS must be at least one hour longer "
360
+ "than the longest late-ack task or FFmpeg execution window "
361
+ f"({_CELERY_MINIMUM_VISIBILITY_TIMEOUT_SECONDS} seconds).",
362
+ )
363
+ CELERY_BROKER_TRANSPORT_OPTIONS = {
364
+ "visibility_timeout": CELERY_VISIBILITY_TIMEOUT,
365
+ }
366
+ CELERY_RESULT_BACKEND_TRANSPORT_OPTIONS = {
367
+ "visibility_timeout": CELERY_VISIBILITY_TIMEOUT,
368
+ }
344
369
  _celery_default_queue = os.getenv(
345
370
  "CELERY_TASK_DEFAULT_QUEUE",
346
371
  os.getenv("CELERY_DEFAULT_QUEUE", "default"),
@@ -392,6 +417,10 @@ CELERY_TASK_QUEUES = tuple(
392
417
  )
393
418
  )
394
419
  CELERY_TASK_ROUTES = {
420
+ "endoreg_db.tasks.video_hls_materialization": {
421
+ "queue": CELERY_FFMPEG_MEDIA_QUEUE,
422
+ "routing_key": CELERY_FFMPEG_MEDIA_QUEUE,
423
+ },
395
424
  "endoreg_db.video_upload_import": {
396
425
  "queue": CELERY_FFMPEG_MEDIA_QUEUE,
397
426
  "routing_key": CELERY_FFMPEG_MEDIA_QUEUE,
@@ -8,6 +8,8 @@ import os
8
8
  from pathlib import Path
9
9
  from typing import Any, cast
10
10
 
11
+ from lx_annotate.settings.oidc import oidc_scopes_with_center_groups
12
+
11
13
  from .settings_base import (
12
14
  BASE_DIR,
13
15
  DATABASES,
@@ -97,6 +99,7 @@ if ENFORCE_AUTH:
97
99
  OIDC_OP_TOKEN_ENDPOINT = KEYCLOAK.OIDC_OP_TOKEN_ENDPOINT
98
100
  OIDC_OP_USER_ENDPOINT = KEYCLOAK.OIDC_OP_USER_ENDPOINT
99
101
  OIDC_OP_JWKS_ENDPOINT = KEYCLOAK.OIDC_OP_JWKS_ENDPOINT
102
+ OIDC_RP_SCOPES = oidc_scopes_with_center_groups(KEYCLOAK.OIDC_RP_SCOPES)
100
103
  OIDC_RP_SIGN_ALGO = KEYCLOAK.OIDC_RP_SIGN_ALGO
101
104
  OIDC_OP_LOGOUT_ENDPOINT = KEYCLOAK.OIDC_OP_LOGOUT_ENDPOINT
102
105
 
@@ -11,6 +11,7 @@ from typing import Any, cast
11
11
 
12
12
  from lx_annotate.settings import config as config_module
13
13
  from lx_annotate.settings.config import AppConfig
14
+ from lx_annotate.settings.oidc import oidc_scopes_with_center_groups
14
15
 
15
16
  from .settings_base import (
16
17
  APP_DATA_DIR,
@@ -59,6 +60,11 @@ config = cast(AppConfig, config)
59
60
  CELERY_BROKER_URL = base_settings.CELERY_BROKER_URL
60
61
  CELERY_RESULT_BACKEND = base_settings.CELERY_RESULT_BACKEND
61
62
  CELERY_TASK_IGNORE_RESULT = base_settings.CELERY_TASK_IGNORE_RESULT
63
+ CELERY_VISIBILITY_TIMEOUT = base_settings.CELERY_VISIBILITY_TIMEOUT
64
+ CELERY_BROKER_TRANSPORT_OPTIONS = base_settings.CELERY_BROKER_TRANSPORT_OPTIONS
65
+ CELERY_RESULT_BACKEND_TRANSPORT_OPTIONS = (
66
+ base_settings.CELERY_RESULT_BACKEND_TRANSPORT_OPTIONS
67
+ )
62
68
  CELERY_TASK_DEFAULT_QUEUE = base_settings.CELERY_TASK_DEFAULT_QUEUE
63
69
  CELERY_PIPELINE_QUEUE = base_settings.CELERY_PIPELINE_QUEUE
64
70
  CELERY_FRAME_EXTRACTION_QUEUE = base_settings.CELERY_FRAME_EXTRACTION_QUEUE
@@ -237,7 +243,7 @@ try:
237
243
  OIDC_OP_USER_ENDPOINT = KEYCLOAK.OIDC_OP_USER_ENDPOINT
238
244
  OIDC_OP_JWKS_ENDPOINT = KEYCLOAK.OIDC_OP_JWKS_ENDPOINT
239
245
  OIDC_VERIFY_SSL = KEYCLOAK.OIDC_VERIFY_SSL
240
- OIDC_RP_SCOPES = KEYCLOAK.OIDC_RP_SCOPES
246
+ OIDC_RP_SCOPES = oidc_scopes_with_center_groups(KEYCLOAK.OIDC_RP_SCOPES)
241
247
  OIDC_RP_SIGN_ALGO = KEYCLOAK.OIDC_RP_SIGN_ALGO
242
248
  OIDC_OP_LOGOUT_ENDPOINT = KEYCLOAK.OIDC_OP_LOGOUT_ENDPOINT
243
249
  OIDC_STORE_ID_TOKEN = KEYCLOAK.OIDC_STORE_ID_TOKEN