Readonly option for RESTAPI

I am now using lua script to secure an instance of orthnac as readonly

Is it an option to do the same through the configuration file?

I found only an option for dicom modalities but not for the REST API

many thanks,

Kyriakos

Hi,

No, there’s no such thing right now. I’ve added it to our TODO.

Note however that you can implement such a behaviour with a small lua callback:
https://book.orthanc-server.com/users/lua.html#filtering-incoming-rest-requests

HTH,

Alain

Yes i am using lua script and works without any issues

Στις Δευτέρα 6 Δεκεμβρίου 2021 στις 11:55:24 π.μ. UTC+2, ο χρήστης alain...@osimis.io έγραψε: