#3680 closed defect (fixed)
PostGIS upgrade scripts missing GRANT for views
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 2.2.5 |
Component: | build | Version: | 2.2.x |
Keywords: | Cc: |
Description
As noted in https://lists.osgeo.org/pipermail/postgis-users/2016-December/041815.html
using
ALTER EXTENSION POSTGIS UPDATE TO '2.2.2';
Seems to not set GRANT rights on the geometry_columns, raster_columns, and geography_columns views.
I checked one of the extension update scripts postgis-2.2.3-2.3.1.sql and it has CREATE OR REPLACE VIEW .. but missing these lines that are in the full extension script.
-- make views and spatial_ref_sys public viewable -- GRANT SELECT ON TABLE geography_columns TO public; GRANT SELECT ON TABLE geometry_columns TO public; GRANT SELECT ON TABLE spatial_ref_sys TO public;
So I suspect it's been like that for a while.
Change History (6)
comment:1 by , 8 years ago
Owner: | changed from | to
---|
comment:2 by , 8 years ago
Component: | postgis → build/upgrade/install |
---|
comment:3 by , 8 years ago
Note:
See TracTickets
for help on using tickets.
In 15276: