On the system exists two types of user: teachers and students.
Rule:
- Only teachers can create projects by accessing
/new/project
. When this occurs, the status code of response is200
.
Problem:
In a REST scenerios, if students try to access the /new/project
which status code must be returned in:
- Ajax requests
- "Normal" requests
Students must be redirects (302)?
Students must see a not found page (404) as github does?
What about 403 status?