Mercurial > gemma
comparison schema/run_tests.sh @ 263:13ad969a9138
Enable listing of users for all roles with appropriate filters
Waterway users should see their own account data and their should be a
single interface for account data (i.e. users.list_users). Therefore, also
the RLS policy on user_profiles for waterway_admin is translated to the
view.
current_user_country() moved because it's needed earlier during database
setup, now.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 27 Jul 2018 19:03:56 +0200 |
parents | 92470caf81fd |
children | 72062ca52746 |
comparison
equal
deleted
inserted
replaced
262:92470caf81fd | 263:13ad969a9138 |
---|---|
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(40)' \ | 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()' |