Skip to content
Snippets Groups Projects
Commit 66e7b4f5 authored by brinn's avatar brinn
Browse files

Fix ScreeningPlateListReadOnlyPredicate for shared plates.

SVN: 26178
parent ea63943b
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,10 @@ public class ScreeningPlateListReadOnlyPredicate extends
{
for (Long spaceId : getSampleSpaceIds(permIds))
{
if (spaceId == null)
{
continue; // Shared samples will return a spaceId of null.
}
final Status status =
evaluate(person, allowedRoles, authorizationDataProvider
.getHomeDatabaseInstance(), spaceId);
......
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