Cadasta / cadasta-qgis-plugin

[DEPRECATED] QGIS plugin to create, edit, upload and download Cadasta projects
GNU General Public License v3.0
4 stars 7 forks source link

API URLs #189

Open amplifi opened 7 years ago

amplifi commented 7 years ago

For plugin release, default URL should no longer be platform-staging-api.cadasta.org -- external users should either point to demo-api.cadasta.org or platform-api.cadasta.org, respectively.

To ensure plugin queries are never directed against platform UI addresses, these should be blocked in the plugin: platform-staging.cadasta.org, demo.cadasta.org, and platform.cadasta.org

dimasciput commented 7 years ago

@amplifi if there will only two options, maybe change to dropdown will makes more sense. What do you think?

SteadyCadence commented 7 years ago

A dropdown is a great idea!

The only thing is that the team will need platform-staging and partners should not have access to that.... Is there any way to change the drop down according to the email domain?

amplifi commented 7 years ago

@dimasciput @steadycadence I'd suggest a dropdown for demo-api and platform-api, plus an advanced button that when clicked displays a field for you to enter a URL manually.

Alternately, we do have an is_staff field for the user accounts table, which could be used to toggle the visibility of staging-api in the dropdown, but we currently aren't setting that field anywhere and there's no UI mechanism for doing so. This would be a more elegant solution, though I think there will be value in having the advanced manual entry URL field either way (should partners have individual instances in the future).

SteadyCadence commented 7 years ago

@dimasciput @cchristelis What does the label "ready" mean?

I want to know what the status of this is? It has not been implemented but is it going to be added?