A digital system to handle courses at a fictive university.
- Admin: Should be able to accept a student that have applied for a course. This is not done.
- Username: admin
- Passord: admin
- Student: A student can see a list of courses and apply for the courses.
- Username: student
- Passord: student
- Teacher: A teacher can create, edit, and delete a course.
- Username: teacher
- Passord: teacher
You can search for courses on their course name in danish. Try it out.
When you search you get redirected to /student/courses/?search={YOUR_INPUT}
.
When logged in as a teacher you can't access something with the path of admin /admin/...
.
The same goes for the other users and their respective paths /student/...
and /teacher/...
- A course can't be deleted if a student has applied for the course. So it fails because a reference in
student_courses
table needs to be removed. We tried to figure it out, but couldn't find out in time and therefore we state the problem here. - Admin has no further functionality than logging in.
- We had some path problems for the student upon sending a request, so we allowed everyone to access a 3 layered path with spring security. So all users can access
/student/***
, a * is a layer on the path =/student/{LAYER}/{LAYER}/{LAYER}
- The path
/teacher/courses/
can also be accessed by all users.