Bug #158
closed
Unable to view projects containing an experiment that has been shared with the user.
Added by Amber Herold over 14 years ago.
Updated over 14 years ago.
Description
Follow test case #97 and #100
When viewing the list of projects that the user has access to, projects that contain experiments that have been shared with the user do not show up when privileges are lower than level 3.
Should shared projects show up in the ProjectDB or only in the drop down project list available from the Image Viewer and similar tools?
- Status changed from Assigned to In Code Review
- Assignee changed from Amber Herold to Anchi Cheng
- % Done changed from 0 to 100
This should be fixed with r13094 and r13095.
The main thing was adding the SQL to the getProjects function that returns projects that are shared with the user. Also fixed the arrow and yes/no indication that appears in project tools next to the list of experiments associated with a project.
To test:
log in as a user with low privilege level (user or guest group).
View the projects that you own in project tools and confirm they are correct
Share an experiment in a project that you own and confirm the share indicator is correct.
Go to an image viewer and confirm that only project that you own or have been shared are listed and that the corresponding experiments that are listed are correct.
Set ENABLE_LOGIN to false in the Config file and ensure all the projects are listed.
Login as a user with higher privilege levels and endure all projects and experiments can be seen.
- Status changed from In Code Review to Closed
Also available in: Atom
PDF