From 4f45eacf36e94b91c6ce18518a9265f2d37332b9 Mon Sep 17 00:00:00 2001 From: Markku Riekkinen Date: Fri, 5 Mar 2021 11:26:55 +0200 Subject: [PATCH] Do not require login in the latest course instance redirect Fix https://github.com/apluslms/a-plus/issues/790 --- course/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/views.py b/course/views.py index 231862d57..039029df8 100644 --- a/course/views.py +++ b/course/views.py @@ -106,7 +106,7 @@ def get_common_objects(self, **kwargs): self.note("instances", "msg") class LastInstanceView(CourseMixin, BaseRedirectView): - access_mode = ACCESS.STUDENT + access_mode = ACCESS.ANONYMOUS def get_resource_objects(self): super().get_resource_objects()