User rights

Hi
is it possible to set user rights or customize the Patient page? I’m using the Osimis Web Viewer, when I open to the Patient page we have 3 interact options and 2 access options, I don’t think is configured in the Web Viewer side but I’d like to keep it as basic as possible for web viewers, I don’t want them deleting or manipulating images and definitely not sending them back to my main PACS, and managing imaging I’d like to prevent the downloading the images. is there an easy way to do this?

Thanks
Gary

If you wish a custom interface, you’ll basically have to do it by yourself :frowning:

The ServeFolders plugin is there to help you.
If you just want to customize the current Orthanc interface, you may copy the HTML/JS Orthanc interface from the Orthanc source code, and configure the ServeFolders to serve it at another url i.e http://localhost:8042/myInterface/.
Then, you can modify the HTML/JS code to remove all the components you don’t need.

Note that you should also prevent users to use the default interface that will still be served by Orthanc. This can be done with some Lua scripting.

Hello, I apoligise again for not being very clued up with any of this, I’ve altered the HTML script to hide the buttons, this shouldn’t then alter any functionality but will stop users asking or trying the features… now for the stupid question, how do I swap the files?

Hello,

Hello, I apoligise again for not being very clued up with any of this, I’ve altered the HTML script to hide the buttons, this shouldn’t then alter any functionality but will stop users asking or trying the features… now for the stupid question, how do I swap the files?

As Alain told, you have to override the content of the “/app” folder that is served by default by Orthanc (this folder contains Orthanc Explorer), by your modified version of Orthanc Explorer. Make sure the main HTML is called “explorer.html”. All of this can be done through the ServeFolders plugin, whose documentation is here:
https://bitbucket.org/sjodogne/orthanc/src/default/Plugins/Samples/ServeFolders/

Precompiled versions of ServeFolders are available at:
http://www.orthanc-server.com/browse.php?path=/orthanc/snapshots

For future readers, there is a FAQ on this topic here:
https://orthanc.chu.ulg.ac.be/book/faq/improving-interface.html

HTH,
Sébastien-