Skip to content

Commit 3ff851a

Browse files
committed
GRANT select on topology.topology and topology.layer to PUBLIC
Closes #4575
1 parent 5b8bb33 commit 3ff851a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

NEWS

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ PostGIS 3.2.0
1212

1313
* Enhancements *
1414
- #4997, FlatGeobuf format input/output (Björn Harrtell)
15+
- #4575, GRANT SELECT on topology metadata tables to PUBLIC (Sandro Santilli)
1516
- #2592, Do not allow CreateTopology to define topologies with SRID < 0
1617
(Sandro Santilli)
1718
- #3232, Prevent moving an isolated node to different face

topology/topology.sql.in

+5
Original file line numberDiff line numberDiff line change
@@ -1827,4 +1827,9 @@ CREATE OR REPLACE FUNCTION topology.postgis_topology_scripts_installed() RETURNS
18271827
-- Make sure topology is in database search path --
18281828
SELECT topology.AddToSearchPath('topology');
18291829

1830+
-- Make metadata tables publically visible
1831+
-- See https://trac.osgeo.org/postgis/ticket/4575
1832+
GRANT SELECT ON topology.topology TO PUBLIC;
1833+
GRANT SELECT ON topology.layer TO PUBLIC;
1834+
18301835
COMMIT;

0 commit comments

Comments
 (0)