File tree Expand file tree Collapse file tree 3 files changed +10
-18
lines changed
obp-api/src/main/scripts/sql/OIDC Expand file tree Collapse file tree 3 files changed +10
-18
lines changed Original file line number Diff line number Diff line change 1- -- =============================================================================
2- -- GIVE READ ACCESS TO OBP USERS AND WRITE ACCESS TO OBP CONSUMERS
3- -- =============================================================================
4- -- This orchestration script grants OIDC_ADMIN_USER read access to user-related views
5- -- and full CRUD access to consumer/client management
6- -- by including the necessary component scripts
7-
81-- Include variable definitions and database connection
92\i set_and_connect .sql
103
11- -- Create the OIDC users
12- -- TODO check if we need both here.
13- \i cre_OIDC_USER .sql
4+
145\i cre_OIDC_ADMIN_USER .sql
156
16- -- Create all three views (which include the necessary GRANT statements)
17- \i cre_v_oidc_users .sql
18- \i cre_v_oidc_clients .sql
197\i cre_v_oidc_admin_clients .sql
208
219\echo ' Bye from give_read_access_to_obp_users_and_write_access_to_obp_consumers.sql'
Original file line number Diff line number Diff line change 1+ -- Include variable definitions and database connection
2+ \i set_and_connect .sql
3+
4+ -- Note we don't create the OIDC_USER here
5+
6+ -- Create the v_oidc_users view (which includes GRANT SELECT to OIDC_USER)
7+ \i cre_v_oidc_clients .sql
8+
9+ \echo ' Bye from give_read_access_to_obp_clients.sql'
Original file line number Diff line number Diff line change 1- -- =============================================================================
2- -- GIVE READ ACCESS TO OBP USERS
3- -- =============================================================================
4- -- This orchestration script grants OIDC_USER read access to user-related views
5- -- by including the necessary component scripts
61
72-- Include variable definitions and database connection
83\i set_and_connect .sql
You can’t perform that action at this time.
0 commit comments