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 |
||
---|---|---|
.. | ||
recipe_tests | ||
__init__.py | ||
test_custom_page_routes.py | ||
test_group_routes.py | ||
test_import_routes.py | ||
test_long_live_tokens.py | ||
test_meal_routes.py | ||
test_migration_routes.py | ||
test_settings_routes.py | ||
test_signup_routes.py | ||
test_tags_categories.py | ||
test_theme_routes.py | ||
test_user_routes.py |