Anupam-Panwar/Grading-System-automation

BUG : all courses accessible to teachers

Closed this issue · 0 comments

Describe the bug
Teacher can access(edit) the courses of other teachers also by changing the coursecode in url

To Reproduce
Steps to reproduce the behavior:

  1. Login with any teacher id
  2. Select any course
  3. Change the coursecode in url to any course of other teacher
  4. You are able to access the course!!

Expected behavior
A teacher can access his courses only

Screenshots
image