Skip to content
Snippets Groups Projects
Commit 442b61cb authored by brinn's avatar brinn
Browse files

Fix ScreeningPlateListReadOnlyPredicate for shared plates.

SVN: 26181
parent dbee4187
No related branches found
No related tags found
No related merge requests found
...@@ -91,9 +91,9 @@ public class ScreeningPlateListReadOnlyPredicate extends ...@@ -91,9 +91,9 @@ public class ScreeningPlateListReadOnlyPredicate extends
{ {
for (Long spaceId : getSampleSpaceIds(permIds)) for (Long spaceId : getSampleSpaceIds(permIds))
{ {
if (spaceId == null) if (spaceId == null || spaceId == 0)
{ {
continue; // Shared samples will return a spaceId of null. continue; // Shared samples will return a spaceId of null (or 0 in EoDSQL).
} }
final Status status = final Status status =
evaluate(person, allowedRoles, authorizationDataProvider evaluate(person, allowedRoles, authorizationDataProvider
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment