Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerContext.h @ 5058:d4e5ca0c9307
Fix the "Never" option of the "StorageAccessOnFind" that was sill accessing files (bug introduced in 1.11.0)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 03 Aug 2022 10:49:50 +0200 |
parents | 22966345eaba |
children | d7274e43ea7c 7547c7dfd017 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h Tue Aug 02 11:38:31 2022 +0200 +++ b/OrthancServer/Sources/ServerContext.h Wed Aug 03 10:49:50 2022 +0200 @@ -545,7 +545,8 @@ const std::string& publicId, ResourceType level, DicomToJsonFormat format, - const std::set<DicomTag>& requestedTags); + const std::set<DicomTag>& requestedTags, + bool allowStorageAccess); bool ExpandResource(Json::Value& target, const std::string& publicId, @@ -554,7 +555,8 @@ const Json::Value* dicomAsJson, // optional: the dicom-as-json for the resource ResourceType level, DicomToJsonFormat format, - const std::set<DicomTag>& requestedTags); + const std::set<DicomTag>& requestedTags, + bool allowStorageAccess); bool ExpandResource(ExpandedResource& target, const std::string& publicId, @@ -563,7 +565,12 @@ const Json::Value* dicomAsJson, // optional: the dicom-as-json for the resource ResourceType level, const std::set<DicomTag>& requestedTags, - ExpandResourceDbFlags expandFlags); + ExpandResourceDbFlags expandFlags, + bool allowStorageAccess); + FindStorageAccessMode GetFindStorageAccessMode() const + { + return findStorageAccessMode_; + } }; }