Skip to content

[Imaging and Brain Browser] - All sites permission not working #9110

@charliehenrib

Description

@charliehenrib

Describe the bug
A clear and concise description of what the bug is
If you have the permission "Imaging Browser: View Imaging Scans - All Sites" you can access the imaging browser for other site, but you cannot see the image and you get the error below (screenshot) when using brainbrowser. This error disappear if you are granted permission to the site using the site multi select.

To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):

  1. Go to user account and make sure you only have access to one site and have the all sites imaging browser permission
  2. Click on imaging browser and access a candidate that you don't have the site permission for
  3. Scroll down to all type of images and see error # 1, the image does not load.
  4. See error # 2 when clicking on the missing image and going to brainbrowser.

What did you expect to happen?
A clear and concise description of what you expected to happen.
you should be able to access the images from both imaging browser and brainbrowser.

Additional context
Add any other context about the problem here.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: BugPR or issue that aims to report or fix a bugModule: brainbrowserPR or issue related to brainbrowser moduleModule: imaging_browserPR or issue related to imaging_browser module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions