From b28c568cb47e2ea81452ed3515efd12329f4955c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Fri, 27 Jul 2018 11:34:09 +0100 Subject: [PATCH 1/2] Resolves #737 --- source/check_sys_grants.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/check_sys_grants.sql b/source/check_sys_grants.sql index 863727f00..a762cb06c 100644 --- a/source/check_sys_grants.sql +++ b/source/check_sys_grants.sql @@ -18,7 +18,7 @@ begin select column_value as privilege from table(l_expected_grants) minus - select privilege + select replace(privilege,' ANY ') privilege from user_sys_privs ); if l_missing_grants is not null then From 4888784f8654d7f812f5d52f17c85ad625d1a345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacek=20G=C4=99bal?= Date: Fri, 27 Jul 2018 12:58:19 +0100 Subject: [PATCH 2/2] Update check_sys_grants.sql --- source/check_sys_grants.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/check_sys_grants.sql b/source/check_sys_grants.sql index a762cb06c..e16869e54 100644 --- a/source/check_sys_grants.sql +++ b/source/check_sys_grants.sql @@ -18,8 +18,11 @@ begin select column_value as privilege from table(l_expected_grants) minus - select replace(privilege,' ANY ') privilege + (select privilege from user_sys_privs + union all + select replace(privilege,' ANY ') privilege + from user_sys_privs) ); if l_missing_grants is not null then raise_application_error(