Multitenant Server Setup

I’m working to develop an application using Orthanc that would be hosted on a central server, allowing users to upload, but I’m now at the point where I only want users to be able to access the files/studies that they uploaded. i.e. Doctor 1 should only see his/her/their files, not any other users who log into the application.

Digging through the docs/book, it seems like multitenancy is the way to do this, but I’m a bit confused as to how to set this up.

Any ideas? thanks!

Hi,

In Orthanc, multitenancy is usually implemented through labels. This project implements access restriction for users who have access only to studies withing a list of allowed labels.

However, right now, files are not labeled when a user uploads a file and only an “admin” user can add labels. A lua script could also add labels when files are received based, e.g., on the RequestingPhysician … (here is a script that adds labels based on the Dicom modality that has pushed the data; you can use it as an inspiration).

HTH,

Alain.