grant access right to www user for new postcode table

This commit is contained in:
Sarah Hoffmann
2025-12-30 17:48:33 +01:00
parent df4abfd5cc
commit f9864b7ec7

View File

@@ -245,6 +245,8 @@ def create_place_postcode_table(conn: Connection, config: Configuration, **_: An
geometry Geometry(Geometry, 4326) NOT NULL
)
""")
sqlp.run_string(conn,
'GRANT SELECT ON location_postcodes TO "{{config.DATABASE_WEBUSER}}"')
# remove postcodes from the various auxillary tables
cur.execute(
"""