When clicking on an annotation found through the "similar annotations search," if the annotation belongs to a different project, it is incorrectly displayed within the current project instead of navigating to the correct project. This results in unauthorized access to annotations outside the current project, leading to a data breach.
Expected behaviour
When clicking on the annotation that is in another project, it should navigate to the correct project and display the annotation there.
Step to reproduce
Description of the steps to reproduce the bug.
Perform a search using the "similar annotations search" feature.
Click on an annotation that belongs to a different project.
Observe that the annotation is displayed within the current project rather than navigating to the correct project.
Description
When clicking on an annotation found through the "similar annotations search," if the annotation belongs to a different project, it is incorrectly displayed within the current project instead of navigating to the correct project. This results in unauthorized access to annotations outside the current project, leading to a data breach.
Expected behaviour
When clicking on the annotation that is in another project, it should navigate to the correct project and display the annotation there.
Step to reproduce
Description of the steps to reproduce the bug.