view schema/demo-data/README @ 4624:209b10f7bb2c geoserver_sql_views

Add config for GeoServer database session startup SQL Prepended to setting the role in order to avoid any configuration overwriting it.
author Tom Gottfried <tom@intevation.de>
date Wed, 09 Oct 2019 18:47:13 +0200
parents 5e38667f740c
children
line wrap: on
line source

------------------------------------------------------------------------
                        !!!!!! WARNING !!!!!!

Data within this directory is provided for the sole purpose of testing
and demonstration of the Gemma software.  It is neither intended nor
suitable for any kind of production use.

THIS DATA CONTAINS UNSAFE AND PUBLICLY KNOWN PASSWORDS.  DO NOT
INSTALL ON REMOTE ACCESSIBLE SYSTEMS!
------------------------------------------------------------------------

Defined Users:

  | Username | Password | Role                   | Country |
  |----------+----------+------------------------+---------|
  | sophie   | so2Phie4 | System Administrator   | AT      |
  | lucian   | lu2Cian4 | Waterway Administrator | RO      |
  | oana     | oa2Na2   | Waterway User          | RO      |
  | penka    | pe2Nka3  | Waterway Administrator | BG      |
  | vanja    | va2Nja3  | Waterway User          | BG      |


Installation:

We assume, you already have a database "gemma" with the Gemma schema
in place.

As postgres super user ("postgres" on most default installations):

  psql -f roles.sql -d gemma
  psql -f users.sql -d gemma