bsed / ala

Automatically exported from code.google.com/p/ala
0 stars 0 forks source link

All webservice end points that FC calls to ecodata should go via /ws/* #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
FC admin page makes 2 calls to ecodata:

 • webService.getJson(grailsApplication.config.ecodata.baseUrl + 'admin/reIndexAll')

 • webService.get(grailsApplication.config.ecodata.baseUrl + "admin/clearMetadataCache")

The admin page should be locked down to ROLE_ADMIN users but this would break 
those URLs from FC.

These calls should instead use a consistent URL pattern to be prefixed with 
/ws/.

Original issue reported on code.google.com by nickdos on 18 Dec 2013 at 3:29