We have an assay that has been copied to a study, resulting in a dataset called HAI Results. The study has per-dataset permissions, and one of our user groups has been assigned Read access to the HAI Results dataset. As long as the default view of HAI Results is not changed, everything works fine. However, if I add some specimen information to the view - say the Draw Timestamp and the Primary Type, then the HAI Results dataset crashes when a user from the group with Read access tries to access it. They click on the HAI Results dataset and a blank screen appears with "500: Unexpected server error" in red at the top. If I remove the extra fields, users can see view the HAI Results dataset again.
Users in this group can view specimens, so I don't understand why adding specimen information would be a problem. Am I doing something wrong?
I attached the "show more details" from the error message, in case that helps.
Thanks!
- Jen |
|
brittp responded: |
2011-11-08 14:02 |
|
|
jdutra responded: |
2011-11-08 14:20 |
Thank you! |
|
brittp responded: |
2011-11-11 17:16 |
Hi Jen,
I've looked into this enough to know how to fix the 500 error you're seeing, but I'm not sure that this will make the specimen data available to the user. I'm also not able to reproduce the error you're seeing just based on the description above. Can you tell me a bit more about your setup? Specifically:
1. What assay type is "HAI"?
2. What permissions does the user have in the HAI assay folder (not the study folder)?
3. When you customized your study dataset view to add primary type, what path did you follow in the 'customize view' field tree? (For example, I tried "Properties/Specimen/Property/Specimen ID/Primary Type".)
Thanks,
Britt |
|
jdutra responded: |
2011-11-14 06:23 |
Britt,
1. HAI is a general assay.
2. The user has no rights to the HAI assay folder. Just for the record, though, she can still see the assay fine once it's copied to study as long as I don't customize the default view.
3. We actually added the draw timestamp and the derivative type. I'm not sure what you mean by "Properties", but to add the fields we went to the Views menu and Customize View. Then we pulled those two fields from Specimen ID/Specimen/Derivative Type and Specimen ID/Specimen/Draw Timestamp in the list of Available fields. Clicked Save, made this the default view for this page, and made the grid available to all users.
One other note: as a workaround we created a query joining the HAI Results table with the two extra fields from SpecimenDetail. The user has no problem seeing the query.
Hope this helps. Feel free to ask any other questions, and thanks for your help.
- Jen |
|
|
|