linz / gazetteer

New Zealand Gazetteer of official place names
http://www.linz.govt.nz/regulatory/place-names/find-name/new-zealand-gazetteer-official-geographic-names/new-zealand-gazetteer-search-place-names#zoom=0&lat=-41.14127&lon=172.5&layers=BTTT
Other
2 stars 2 forks source link

Database patch for view rules may have affected roles permisisons #205

Open SPlanzer opened 3 years ago

SPlanzer commented 3 years ago
  1. The prd gazetteer DB was dump and restored to the dev server for testing purposes.
  2. Then the update to gazetteer_geometry_views.sql required for QGIS3 porting was 'deployed' to the dev server DB instance.

The Bug

Initial plugin user tests failed (see #203) due to lack of roles assigned to the views on the test DB. It is asumed step two above resulted in the lost of the correct roles.

This was resolved by setting DB roles to match the prd DB (see #203 ).

This will affect eventual PRD deployment and must be first considered.

billgeo commented 3 years ago

Is this something we include some deployment docs? And then it could be automated later?

SPlanzer commented 3 years ago

Deployment is fairly ad-hoc at the moment so there is not a lot to add to. The NZGB when looking to modernise their DB will have undertake a significant piece of work to development modern deployment practices.