-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configurable startpage #1990
Conversation
evap/evaluation/models.py
Outdated
return [self.is_student, self.is_responsible_or_contributor_or_delegate, self.is_grade_publisher].count( | ||
True | ||
) > 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could a user lose their status as for example "student" and then be unable to update their startpage? In addition I think this should also be "participant" instead of student (and maybe the other thing is not a problem anymore then?)
In general, maybe we should have can_visit_student_index
etc to not have this knowledge duplicated? (Sorry for the general scope bleed :/ )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i didn't implement anything like can_visit_student_index
because this might get even more confusing when thinking about staff mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm after the conflict of is_student
vs is_participant
is resolved.
fix #1742; make start page configurable