Closed aapris closed 8 years ago
This is problematic with the simple UI though -- it will have to have the API key it uses embedded somewhere in the source, as the client does the POSTing.
This in turn means anyone can just snarf the API key from the simple UI's source and use it for their nefarious posting needs.
Reassigned @aapris to figure out a resolution for the above. ☝️
Let's add a simple Application
model with similar semantics as Jurisdictions:
api_key
api_key
is requiredThe simple issue UI will have to check whether the system is in a mode that requires API keys, and if it is, it must supply one to the frontend JavaScript.
Fixed via #61.
POST Service Request should require API Key, as GeoReport v2 specification says. Simple API Key management could be in Django admin.
http://wiki.open311.org/GeoReport_v2/#post-service-request