We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b4651 commit 5fc2b9aCopy full SHA for 5fc2b9a
grader_service/handlers/lectures.py
@@ -122,7 +122,7 @@ async def get(self, lecture_id: int):
122
raise HTTPError(HTTPStatus.NOT_FOUND, reason="Lecture was not found")
123
self.write_json(lecture)
124
125
- @authorize([Scope.admin])
+ @authorize([Scope.instructor, Scope.admin])
126
async def delete(self, lecture_id: int):
127
"""
128
Soft or Hard-Deletes a specific lecture.
0 commit comments