Skip to content
Snippets Groups Projects
Commit d5d3af7b authored by gnaegi's avatar gnaegi
Browse files

Merge OpenOLAT-11.5.x to OpenOLAT-default with 1ef79e4d257dd705eb39abedb74af50e4ad59e20

parents b22c6ead 84a0ace7
No related branches found
No related tags found
No related merge requests found
...@@ -186,3 +186,4 @@ aa02a5383a846d9b76620693f1713cc1f7a5c3b7 OpenOLAT 11.3.0 ...@@ -186,3 +186,4 @@ aa02a5383a846d9b76620693f1713cc1f7a5c3b7 OpenOLAT 11.3.0
ddfe863807617f21f6d75216bed144c791f5cab1 OpenOLAT 11.4.2 ddfe863807617f21f6d75216bed144c791f5cab1 OpenOLAT 11.4.2
25a2dc4dba8a7961ff4f19e33f709ddea5949141 OpenOLAT 11.4.3 25a2dc4dba8a7961ff4f19e33f709ddea5949141 OpenOLAT 11.4.3
f0de363ab794a6e0d6f4d6da57f460503d5dfa91 OpenOLAT 11.5.0 f0de363ab794a6e0d6f4d6da57f460503d5dfa91 OpenOLAT 11.5.0
dda2b6a8c3454872516fac37667698425802fc97 OpenOLAT 11.5.1
...@@ -530,7 +530,9 @@ public class PFManager { ...@@ -530,7 +530,9 @@ public class PFManager {
Set<Identity> identitySet = new HashSet<>(); Set<Identity> identitySet = new HashSet<>();
RepositoryEntry re = courseEnv.getCourseGroupManager().getCourseEntry(); RepositoryEntry re = courseEnv.getCourseGroupManager().getCourseEntry();
if(admin) { if(admin) {
return repositoryEntryRelationDao.getMembers(re, RepositoryEntryRelationType.both, GroupRoles.participant.name()); List<Identity> participants = repositoryEntryRelationDao.getMembers(re, RepositoryEntryRelationType.both, GroupRoles.participant.name());
// deduplicate list (participants from groups and direct course membership)
identitySet.addAll(participants);
} else { } else {
if(repositoryService.hasRole(id, re, GroupRoles.coach.name())) { if(repositoryService.hasRole(id, re, GroupRoles.coach.name())) {
List<Identity> identities = repositoryService.getMembers(re, GroupRoles.participant.name()); List<Identity> identities = repositoryService.getMembers(re, GroupRoles.participant.name());
......
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