-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OGC API - Features - Part 4: Create #127
base: master
Are you sure you want to change the base?
OGC API - Features - Part 4: Create #127
Conversation
Because this PR opens the door to changing server data, I think it needs a way to control if it is enabled (and the default must be disabled, since otherwise this exposes existing installations to change). Of course, database security can be used to do this as well, but it is sometimes convenient to control this via configuration (and that is essential to avoid changing current behaviour). This could be done via a configuration parameter. The simplest thing would be a single parameter (say It might be nice to allow finer-grained control over which tables can be changed as well. This could be done via additional config parameters similar to the current |
Adding an option to enable/disable the write access is a good idea. We will bring a fix asap. But the table filtering will be done in a separated PR. |
a81e09e
to
5fe8feb
Compare
Hello @dr-jts, Any chance to see this one merged or reviewed again in next days? Thanks! |
What is the extent of support for Coordinate Reference Systems? I see the following levels of capability (feel free to amend):
This is the kind of non-obvious functionality which needs to be documented for users. |
…ions/{id}/schema * update openapi paths description * split handler_test.go in 3: * handler_test.go: to test get operations * handler_common_test.go: common test functions * handler_post_test.go: to test post operations * fix bad column indexes in catalog_mock
5fe8feb
to
91e0b17
Compare
* openapi.go: add paramFeatureID
91e0b17
to
2ea91e1
Compare
implements CREATE feature from OGC API - Features - Part 4
DELETE UPDATE REPLACE will come in separated PR.
This is the simplest version without optimistic locking.