comparison schema/run_tests.sh @ 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 750a9c9cd965
children 8bacd556ea39
comparison
equal deleted inserted replaced
318:1a2dfd9351e9 319:ac760b0f22a9
13 13
14 # Drop test roles, add test data and run tests 14 # Drop test roles, add test data and run tests
15 psql -qXv ON_ERROR_STOP= -v -d gemma_test \ 15 psql -qXv ON_ERROR_STOP= -v -d gemma_test \
16 -c "DROP ROLE IF EXISTS $TEST_ROLES" \ 16 -c "DROP ROLE IF EXISTS $TEST_ROLES" \
17 -f tap_tests_data.sql \ 17 -f tap_tests_data.sql \
18 -c 'SELECT plan(39)' \ 18 -c 'SELECT plan(42)' \
19 -f auth_tests.sql \ 19 -f auth_tests.sql \
20 -f manage_users_tests.sql \ 20 -f manage_users_tests.sql \
21 -c 'SELECT * FROM finish()' 21 -c 'SELECT * FROM finish()'