Closed torgeirl closed 5 years ago
Suggested solution
Make hidden=True
the default, and set hidden=False
iff user is authenticated and is_admin
.
Was this fixed by #81 ?
Unable to reproduce this error. _get_progress should never be called when a user is not logged in since it called by the AssignmentListProgressController which is not included unless the user is authenticated.
Are you still getting these errors?
@Elthan: we received the last error report yesterday; 45 reports over the last 30 days.
An
if
test for hidden assignments yieldsAttributeError: 'AnonymousUser' object has no attribute 'is_admin'
.It seems the error is non-critical and runs silent in the background so it shouldn't effect anonymous users' access to the service.