Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Jan Maximilian Michal
grady
Commits
af87259f
Commit
af87259f
authored
3 years ago
by
Jakob Dieterle
Browse files
Options
Downloads
Patches
Plain Diff
tutors now have access to all student data when in exercise mode
parent
25ad9e48
No related branches found
No related tags found
1 merge request
!274
Resolve "Tutors need access to Participantspage"
Pipeline
#195265
failed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/views/common_views.py
+1
-3
1 addition, 3 deletions
core/views/common_views.py
with
1 addition
and
3 deletions
core/views/common_views.py
+
1
−
3
View file @
af87259f
...
...
@@ -81,9 +81,7 @@ class StudentReviewerApiViewSet(viewsets.ReadOnlyModelViewSet):
return
queryset
elif
self
.
request
.
user
.
is_tutor
()
and
config
.
EXERCISE_MODE
:
return
queryset
.
filter
(
user__exercise_groups__in
=
self
.
request
.
user
.
exercise_groups
.
all
()
)
return
queryset
else
:
return
[]
...
...
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