view schema/roles.sql @ 879:52fe3e20f750

client: improve print styling * Set explicit pixel width and height for the map for printing. This results in a map which roughly has the right scale, though it is not centered on the screen view anymore and also does not take up the full printed page. * Add handlers for detecting print events, with some experiments in deactivated code.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 01 Oct 2018 12:01:46 +0200
parents 3af7ca761f6a
children 6590208e3ee1
line wrap: on
line source

--
-- Primary GEMMA roles
--
CREATE ROLE waterway_user;
CREATE ROLE waterway_admin IN ROLE waterway_user;
CREATE ROLE sys_admin IN ROLE waterway_admin;

--
-- Special roles
--

-- A role that is intended to be used for backend- or
-- GeoServer-connections on which SET ROLE has to be used to
-- gain privileges of a specific role
CREATE ROLE metamorph NOINHERIT;