You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The flask API has a blueprint named admin but it currently has only one route to fetch system meta information. More routes are required and an admin authentication system is required.
Requirements
Create complete admin authentication API in admin blueprint with a new admin model
Create a function in helpers.py to authenticate an admin user
Use above function to change route /api/stories/all to admin only
The text was updated successfully, but these errors were encountered:
Context
The flask API has a blueprint named admin but it currently has only one route to fetch system meta information. More routes are required and an admin authentication system is required.
Requirements
helpers.py
to authenticate an admin user/api/stories/all
to admin onlyThe text was updated successfully, but these errors were encountered: