Skip to content
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

Security issue #59

Open
smistad opened this issue Oct 23, 2024 · 0 comments
Open

Security issue #59

smistad opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
security Security issue

Comments

@smistad
Copy link
Member

smistad commented Oct 23, 2024

There are several important views which are missing the @teacher_required decorator:
Like this one (delete_annotation): https://github.com/AICAN-Research/learn-pathology/blob/master/slide/views.py#L515
This means that anyone, even students, can in theory delete an annotation.
Someone should go over all views, and check if they are missing the teacher_required decorator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Security issue
Projects
None yet
Development

No branches or pull requests

3 participants