Skip to content
Snippets Groups Projects
Commit 948cb82a authored by Jochem de Goede's avatar Jochem de Goede
Browse files

No group option did not count for allAllowed in Lab.java

parent 1e3e0ace
No related branches found
No related tags found
No related merge requests found
......@@ -551,7 +551,7 @@ public class Lab implements Serializable {
}
public boolean allAllowed() {
return allowedMentorGroups.size() == 0;
return !allowWithoutMentorGroup && allowedMentorGroups.size() == 0;
}
public boolean userAllowedForThisLab(User user) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment