diff schema/demo-data/roles.sql @ 319:ac760b0f22a9

Add special role for password reset As password reset is exposed without requiring a login, let this role have privileges limited to reseting passwords, and only reseting passwords.
author Tom Gottfried <tom@intevation.de>
date Thu, 02 Aug 2018 13:06:39 +0200
parents 0c0826063561
children fd04bccae6ca
line wrap: on
line diff
--- a/schema/demo-data/roles.sql	Thu Aug 02 12:48:59 2018 +0200
+++ b/schema/demo-data/roles.sql	Thu Aug 02 13:06:39 2018 +0200
@@ -11,4 +11,7 @@
 CREATE ROLE oana IN ROLE waterway_user LOGIN PASSWORD 'oa2Na2';
 CREATE ROLE vanja IN ROLE waterway_user LOGIN PASSWORD 'va2Nja3';
 
+-- User for password reset
+CREATE ROLE paul IN ROLE pw_reset LOGIN PASSWORD 'pw2Reset4';
+
 COMMIT;