Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
d5d3af7b
Commit
d5d3af7b
authored
7 years ago
by
gnaegi
Browse files
Options
Downloads
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.hgtags
+1
-0
1 addition, 0 deletions
.hgtags
src/main/java/org/olat/course/nodes/pf/manager/PFManager.java
+3
-1
3 additions, 1 deletion
...main/java/org/olat/course/nodes/pf/manager/PFManager.java
with
4 additions
and
1 deletion
.hgtags
+
1
−
0
View file @
d5d3af7b
...
@@ -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
This diff is collapsed.
Click to expand it.
src/main/java/org/olat/course/nodes/pf/manager/PFManager.java
+
3
−
1
View file @
d5d3af7b
...
@@ -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
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment