changeset 220:1ba6153bc891

new default permission to upload to /dicom-web/studies/<StudyInstanceUID>
author Alain Mazy <am@orthanc.team>
date Mon, 24 Mar 2025 12:04:35 +0100
parents e8feeebcf643
children 896b3ddbc238 6f00429ff0fc
files NEWS Plugin/DefaultConfiguration.json
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu Feb 27 15:27:25 2025 +0100
+++ b/NEWS	Mon Mar 24 12:04:35 2025 +0100
@@ -4,6 +4,8 @@
 * The plugin is now using the HttpClient from the Orthanc core instead of its
   own HttpClient which should enable support for https since the plugin
   is not built with SSL support.
+* New default permission to upload to ^/DICOM_WEB_ROOT/studies/([.0-9]+)
+  (https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=244)
 
 
 2025-02-27 - v 0.9.0
--- a/Plugin/DefaultConfiguration.json	Thu Feb 27 15:27:25 2025 +0100
+++ b/Plugin/DefaultConfiguration.json	Mon Mar 24 12:04:35 2025 +0100
@@ -85,6 +85,7 @@
             // uploads
             ["post", "^/instances$", "all|upload"],
             ["post" , "^/DICOM_WEB_ROOT/studies$", "all|upload"],
+            ["post" , "^/DICOM_WEB_ROOT/studies/([.0-9]+)", "all|upload"],  // note: the user also needs to have access to the specific study
             ["post", "^/tools/create-dicom$", "all|upload"],
             ["post", "^/stl/encode-rtstruct$", "all|upload"],
             ["post", "^/stl/encode-nifti$", "all|upload"],