Skip to content

Commit 99796e1

Browse files
authored
WFPREV-775,776 Add missing grants for views (#969)
1 parent e17d95f commit 99796e1

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

db/app_wf1_prev-changelog.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,6 +1754,29 @@
17541754
],
17551755
"rollback": []
17561756
}
1757+
},
1758+
{
1759+
"changeSet": {
1760+
"id": "01_00_39_00",
1761+
"author": "ssylver",
1762+
"tagDatabase": { "tag" : "version_01_00_39_00" },
1763+
"changes": [
1764+
{
1765+
"sqlFile": {
1766+
"dbms": "postgresql", "endDelimiter": ";",
1767+
"path": "scripts/01_00_39/00/grants/proxy.grants.project_download_views.sql"
1768+
}
1769+
},
1770+
{
1771+
"sqlFile": {
1772+
"dbms": "postgresql", "endDelimiter": ";",
1773+
"path": "scripts/01_00_39/00/grants/app_wf1_prev.grants.project_download_views.sql"
1774+
}
1775+
}
1776+
],
1777+
"rollback": [
1778+
]
1779+
}
17571780
}
17581781
]
17591782
}
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;

server/wfprev-api/src/main/resources/application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ logging:
3333
root: INFO
3434
org:
3535
springframework.web.servlet.mvc.method.annotation.StreamingResponseBodyReturnValueHandler: DEBUG
36-
hibernate.SQL: DEBUG
36+
hibernate.SQL: WARN
3737
hibernate.type.descriptor.sql.BasicBinder: TRACE
3838
apache.poi: WARN
3939

0 commit comments

Comments
 (0)