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
{{ message }}
Repository navigation
API: Hazard Information and Hazard Hunt - Create Update and Delete Admin Role Check #21
Serves mobile application read-only lists of hazards as well as directives on what to do in case of the hazard(ie. earthquake).
Serves (tbd) admin app to allow for maintenance of hazard information (crud).
Function names, signatures, object names, and number of functions are not set in stone:
changed the title [-]Hazard Information - Functions Implementation[/-][+]API: Hazard Information and Hazard Hunt - Create Update and Delete Admin Role Check[/+]on Mar 6, 2022
Activity
dpaquette commentedon Sep 2, 2021
These functions have been created but we need to ensure that the Create, Update, and Delete endpoints are only accessible to admin users.
codingbandit commentedon Mar 6, 2022
Create, Update, and Delete endpoints need to have the admin check - check out the BaseKitsApi as an example
[-]Hazard Information - Functions Implementation[/-][+]API: Hazard Information and Hazard Hunt - Create Update and Delete Admin Role Check[/+]dpaquette commentedon Mar 7, 2022
These endpoints do have the admin check already.