-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Labels
[C] BackendFocuses on backend implementationFocuses on backend implementation[P] MediumMedium priorityMedium priority[S] Very smallThis issue should require only very small changes.This issue should require only very small changes.[T] BugThis is a bug. We don't like it. Please get rid of it.This is a bug. We don't like it. Please get rid of it.
Description
When an anonymous user (not logged in) requests a view that requires permission (e.g., grades.views.SemesterView), an AttributeError occurs because the AnonymousUser doesn't have the respective attribute (e.g., is_grade_publisher).
Instead, the permission decorator functions should always return False for anonymous users.
Metadata
Metadata
Assignees
Labels
[C] BackendFocuses on backend implementationFocuses on backend implementation[P] MediumMedium priorityMedium priority[S] Very smallThis issue should require only very small changes.This issue should require only very small changes.[T] BugThis is a bug. We don't like it. Please get rid of it.This is a bug. We don't like it. Please get rid of it.