JaqiKal / ScrollStack

My very first full stack project; HTML, CSS, JavaScript, Python+Django and PostgreSQL
0 stars 1 forks source link

BUG: Fixing Role-Based Permissions for Book Editing #59

Closed JaqiKal closed 6 months ago

JaqiKal commented 6 months ago

Problem: Users who are not the creators of a book can access and edit any book by directly navigating to its edit URL, bypassing permission checks.

Encountered: During early testing (ET)

Can it be Reproduced: Yes it is reproducable.

Impact: Well....let's say that this is bad, very bad.

Possible Solution: Implement permission checks to ensure that only the creator (or an admin) can edit or view the book edit page.

JaqiKal commented 6 months ago

Solution is