navingator / northwind-web-test

Uses Northwind database for web development testing
MIT License
1 stars 1 forks source link

Add authorization guards for product editing and deletion #7

Closed navingator closed 7 years ago

navingator commented 7 years ago

Currently, anyone can modify or delete any products in the database. We should limit it such that only admins have full access to modify or delete products. Otherwise, users should only be able to modify their own products.

Proposed solution: