Skip to content

Commit 810114a

Browse files
committed
WFPREV-869 : Add grants to recreated views (#1084)
1 parent 47a1488 commit 810114a

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

db/app_wf1_prev-changelog.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,6 +2020,29 @@
20202020
"rollback": [
20212021
]
20222022
}
2023+
},
2024+
{
2025+
"changeSet": {
2026+
"id": "01_02_00_03",
2027+
"author": "sparmar",
2028+
"tagDatabase": { "tag": "version_01_02_00_03" },
2029+
"changes": [
2030+
{
2031+
"sqlFile": {
2032+
"dbms": "postgresql", "endDelimiter": ";",
2033+
"path": "scripts/01_02_00/03/grants/app_wf1_prev.grants.project_download_views.sql"
2034+
}
2035+
},
2036+
{
2037+
"sqlFile": {
2038+
"dbms": "postgresql", "endDelimiter": ";",
2039+
"path": "scripts/01_02_00/03/grants/proxy.grants.project_download_views.sql"
2040+
}
2041+
}
2042+
],
2043+
"rollback": [
2044+
]
2045+
}
20232046
}
20242047
]
20252048
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
GRANT SELECT ON wfprev.project_fuel_management_vw TO app_wf1_prev_rest_proxy;
2+
GRANT SELECT ON wfprev.project_crx_vw TO app_wf1_prev_rest_proxy;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
GRANT SELECT ON wfprev.project_fuel_management_vw TO proxy_wf1_prev_rest;
2+
GRANT SELECT ON wfprev.project_crx_vw TO proxy_wf1_prev_rest;

0 commit comments

Comments
 (0)