# HG changeset patch # User Alain Mazy # Date 1726505835 -7200 # Node ID b0d778f1e66df638cde8a425fd2ed6c3a3cbba25 # Parent 56352ae8812064f655f638334ef85a141eec5c01 fix diff -r 56352ae88120 -r b0d778f1e66d NEWS --- a/NEWS Mon Sep 16 18:31:37 2024 +0200 +++ b/NEWS Mon Sep 16 18:57:15 2024 +0200 @@ -15,7 +15,9 @@ Rest API (TODO). - Introduced database optimizations "ExtendedChanges" to allow filtering of /changes. - Reduced the number of SQL queries when ingesting DICOM files. - +* Introduced a new configuration "ReadOnly" to forbid an Orthanc instance to perform + any modifications in the Index DB or in the storage. + REST API -------- diff -r 56352ae88120 -r b0d778f1e66d OrthancServer/Sources/ServerContext.h --- a/OrthancServer/Sources/ServerContext.h Mon Sep 16 18:31:37 2024 +0200 +++ b/OrthancServer/Sources/ServerContext.h Mon Sep 16 18:57:15 2024 +0200 @@ -348,7 +348,7 @@ void SetReadOnly(bool readOnly) { - readOnly_ = true; + readOnly_ = readOnly; } bool IsReadOnly() const