Loris
Loris copied to clipboard
[DICOM archive] Link to MRI violations module should not be there
Describe the bug
I logged in as a user that is associated to site DCC
and has permissions Across all sites view Dicom Archive module and pages
and Violated Scans: View Violated Scans from own site
. I searched for an archive with a patient name that starts with OTT
and clicked on View Details
to see the details for one of them (any will reproduce the bug). When the details page shows up, I can see a link in the Acquisition ID
line that redirects me to the MRI violations page. This link should not be there as I should only be allowed to see the violations for scans from my own site (DCC
).