Create user "No admin"

Hello I need to create users without the possibility of deleting images from that user, can I configure them from config.json?
it is understood?
Greetings thanks

Hello,

This can be done with Lua scripting, as explained in the Orthanc Book:
https://book.orthanc-server.com/users/lua.html#filtering-incoming-rest-requests

Just block the “DELETE” method.

Also, please carefully read the following FAQ:
https://book.orthanc-server.com/faq/improving-interface.html

Sébastien-

Do you have a clear script just to block deletion?

thank you in advance

This script block deletion for all users

ah that’s good thank you