Skip to content

[imaging_browser] The project dropdown filter is showing projects the user don't have access to. #7874

@racostas

Description

@racostas

Describe the bug
The project dropdown is showing projects the user don't have access to.

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

  1. Go to MainMenu->Imaging->Imaging Browser
  2. Click on the Project dropdown filter.
  3. Notice that all the project al listed (even the ones the logged user don't have access to)
  4. Notice nevertheless that the filter is properly working after since if filtered for one of the project this user don't have no data is shown (as expected).

What did you expect to happen?
The project the user don't have access not to be listed (as it is working properly for the sites dropdown in the same page)

Browser Environment (please complete the following information):

  • Microsoft Windows 10
  • Google Chrome Version 96.0.4664.45 (Official Build) (64-bit)

Server Environment (if known):
LORIS 24 official testing VM.

Resolved by #7402

Metadata

Metadata

Assignees

No one assigned

    Labels

    24.0.0-bugsIssues or bug fix PRs that were raised during the testing of release 24.0.0Category: BugPR or issue that aims to report or fix a bugModule: 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