[postgis-tickets] [PostGIS] #3680: PostGIS upgrade scripts missing GRANT for views
PostGIS
trac at osgeo.org
Fri Dec 16 20:05:08 PST 2016
#3680: PostGIS upgrade scripts missing GRANT for views
---------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.2.5
Component: postgis | Version: 2.2.x
Keywords: |
---------------------+---------------------------
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.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3680>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list