ponder-lab / Imperative-DL-Study-Web-App

0 stars 0 forks source link

404 for inaccessible pages #45

Closed khatchad closed 3 years ago

khatchad commented 3 years ago

If you are a categorizer (e.g., ID 5) and you try to access the categorizations of another (e.g., ID 6), you should receive a 404.

OK: https://fathomless-inlet-57767.herokuapp.com/ponder/categorizations?user=5 404: https://fathomless-inlet-57767.herokuapp.com/ponder/categorizations?user=6

mZneit commented 3 years ago

Now the pages return 404 if the user accesses the categorizations of another user. I did the same for bug fixes id's. If a bug fix with id 200 does not exist, the link https://fathomless-inlet-57767.herokuapp.com/ponder/bug_fixes/200 returns a 404 not found page. Please let me know if there's still an issue with this.