6320ba7ec5
* Enhance security and safety around user update API - Prevent a regular user from promoting themself to admin - Prevent an admin from demoting themself - Refactor token fixture to admin + regular user tokens * Restrict user CRUD API to admins * Secure admin API routes * Refactor APIrouter into Admin/UserAPIRouter * Secure theme routes * Make 'all recipes' routes public * Secure favorite routes * Remove redundant checks * Fix public routes mistakenly flagged user routes * Make webhooks changeable only by admin * Allow users to create categories and tags * Address lint issues |
||
---|---|---|
.. | ||
data | ||
integration_tests | ||
unit_tests | ||
utils | ||
__init__.py | ||
app_routes.py | ||
conftest.py | ||
pre_test.py | ||
test_config.py |