diff --git a/links/views.py b/links/views.py index cb0b15a..245442e 100644 --- a/links/views.py +++ b/links/views.py @@ -226,7 +226,7 @@ class ViewLink(LoginRequiredMixin, HasRoleMixin, LogMixin, generic.DetailView): log_action = 'viewed' log_context = {} - allowed_roles = ['professor', 'system_admin'] + allowed_roles = ['professor', 'system_admin','student'] template_name = 'links/view_link.html' success_url = reverse_lazy('course:links:render_link') context_object_name = 'link' -- libgit2 0.21.2