Mercurial > gemma
annotate schema/demo-data/roles.sql @ 381:1cf1423d98e0
Allow adding new roles to demo-data
Wrapping the script in a transaction block did not allow
to add a new role without dropping all other roles before.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 10 Aug 2018 14:59:23 +0200 |
parents | fd04bccae6ca |
children | 46a80016293c |
rev | line source |
---|---|
176
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 -- System Administrator |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 CREATE ROLE sophie IN ROLE sys_admin LOGIN PASSWORD 'so2Phie4'; |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
3 |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
4 -- Water Way Administrators |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
5 CREATE ROLE lucian IN ROLE waterway_admin LOGIN PASSWORD 'lu2Cian4'; |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
6 CREATE ROLE penka IN ROLE waterway_admin LOGIN PASSWORD 'pe2Nka3'; |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
7 |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 -- Water Way Users |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
9 CREATE ROLE oana IN ROLE waterway_user LOGIN PASSWORD 'oa2Na2'; |
0c0826063561
Separate cluster and database specific commands
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
10 CREATE ROLE vanja IN ROLE waterway_user LOGIN PASSWORD 'va2Nja3'; |