Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd9afb0

Browse files
committed
Removed grant execute on:
- ut_output_reporter_base - ut_coverage_reporter_base - ut_console_reporter_base - ut_output_data_row - ut_output_data_rows - ut_output_table_buffer - ut_output_clob_table_buffer
1 parent a62a6f1 commit dd9afb0

5 files changed

Lines changed: 8 additions & 36 deletions

File tree

source/create_synonyms_and_grants_for_public.sql

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ grant execute on &&ut3_owner..ut_file_mapping to public;
3939
grant execute on &&ut3_owner..ut_file_mapper to public;
4040
grant execute on &&ut3_owner..ut_suite_items_info to public;
4141
grant execute on &&ut3_owner..ut_suite_item_info to public;
42+
grant execute on &&ut3_owner..ut_run_info to public;
4243

4344
--generic types
4445
grant execute on &&ut3_owner..ut_varchar2_list to public;
@@ -88,16 +89,9 @@ grant execute on &&ut3_owner..ut_debug_reporter to public;
8889
--reporters - base types
8990
grant execute on &&ut3_owner..ut_reporters to public;
9091
grant execute on &&ut3_owner..ut_reporter_base to public;
91-
grant execute on &&ut3_owner..ut_output_reporter_base to public;
92-
grant execute on &&ut3_owner..ut_coverage_reporter_base to public;
93-
grant execute on &&ut3_owner..ut_console_reporter_base to public;
9492

9593
--outputs
96-
grant execute on &&ut3_owner..ut_output_data_row to public;
97-
grant execute on &&ut3_owner..ut_output_data_rows to public;
9894
grant execute on &&ut3_owner..ut_output_buffer_base to public;
99-
grant execute on &&ut3_owner..ut_output_table_buffer to public;
100-
grant execute on &&ut3_owner..ut_output_clob_table_buffer to public;
10195

10296
--user temp tables
10397
grant select, insert, update, delete on &&ut3_owner..ut_compound_data_tmp to public;
@@ -119,7 +113,6 @@ grant select, insert, delete, update on &&ut3_owner..dbmspcc_runs to public;
119113
grant select, insert, delete, update on &&ut3_owner..dbmspcc_units to public;
120114
grant execute on &&ut3_owner..ut_matcher_options to public;
121115
grant execute on &&ut3_owner..ut_matcher_options_items to public;
122-
grant execute on &&ut3_owner..ut_run_info to public;
123116

124117

125118
prompt Creating synonyms for UTPLSQL objects in &&ut3_owner schema to PUBLIC
@@ -132,6 +125,7 @@ create public synonym ut_file_mapping for &&ut3_owner..ut_file_mapping;
132125
create public synonym ut_file_mapper for &&ut3_owner..ut_file_mapper;
133126
create public synonym ut_suite_items_info for &&ut3_owner..ut_suite_items_info;
134127
create public synonym ut_suite_item_info for &&ut3_owner..ut_suite_item_info;
128+
create public synonym ut_run_info for &&ut3_owner..ut_run_info;
135129

136130
--generic types
137131
create public synonym ut_varchar2_list for &&ut3_owner..ut_varchar2_list;
@@ -181,16 +175,8 @@ create public synonym ut_debug_reporter for &&ut3_owner..ut_debug_reporter;
181175
--reporters - base types
182176
create public synonym ut_reporters for &&ut3_owner..ut_reporters;
183177
create public synonym ut_reporter_base for &&ut3_owner..ut_reporter_base;
184-
create public synonym ut_output_reporter_base for &&ut3_owner..ut_output_reporter_base;
185178

186179
--other synonyms
187-
create public synonym ut_output_data_row for &&ut3_owner..ut_output_data_row;
188-
create public synonym ut_output_data_rows for &&ut3_owner..ut_output_data_rows;
189-
create public synonym ut_output_buffer_base for &&ut3_owner..ut_output_buffer_base;
190-
create public synonym ut_output_table_buffer for &&ut3_owner..ut_output_table_buffer;
191-
create public synonym ut_output_clob_table_buffer for &&ut3_owner..ut_output_clob_table_buffer;
192-
193180
create public synonym dbmspcc_blocks for &&ut3_owner..dbmspcc_blocks;
194181
create public synonym dbmspcc_runs for &&ut3_owner..dbmspcc_runs;
195182
create public synonym dbmspcc_units for &&ut3_owner..dbmspcc_units;
196-
create public synonym ut_run_info for &&ut3_owner..ut_run_info;

source/create_user_grants.sql

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ grant execute on &&ut3_owner..ut_file_mapping to &ut3_user;
5959
grant execute on &&ut3_owner..ut_file_mapper to &ut3_user;
6060
grant execute on &&ut3_owner..ut_suite_items_info to &ut3_user;
6161
grant execute on &&ut3_owner..ut_suite_item_info to &ut3_user;
62+
grant execute on &&ut3_owner..ut_run_info to &ut3_user;
6263

6364
--generic types
6465
grant execute on &&ut3_owner..ut_varchar2_list to &ut3_user;
@@ -107,16 +108,9 @@ grant execute on &&ut3_owner..ut_debug_reporter to &ut3_user;
107108
--reporters - base types
108109
grant execute on &&ut3_owner..ut_reporters to &ut3_user;
109110
grant execute on &&ut3_owner..ut_reporter_base to &ut3_user;
110-
grant execute on &&ut3_owner..ut_output_reporter_base to &ut3_user;
111-
grant execute on &&ut3_owner..ut_coverage_reporter_base to &ut3_user;
112-
grant execute on &&ut3_owner..ut_console_reporter_base to &ut3_user;
113111

114112
--outputs
115113
grant execute on &&ut3_owner..ut_output_buffer_base to &ut3_user;
116-
grant execute on &&ut3_owner..ut_output_data_row to &ut3_user;
117-
grant execute on &&ut3_owner..ut_output_data_rows to &ut3_user;
118-
grant execute on &&ut3_owner..ut_output_table_buffer to &ut3_user;
119-
grant execute on &&ut3_owner..ut_output_clob_table_buffer to &ut3_user;
120114

121115
--user temp tables
122116
grant select, insert, update, delete on &&ut3_owner..ut_compound_data_tmp to &ut3_user;
@@ -138,4 +132,3 @@ grant select, insert, delete, update on &&ut3_owner..dbmspcc_runs to &ut3_user;
138132
grant select, insert, delete, update on &&ut3_owner..dbmspcc_units to &ut3_user;
139133
grant execute on &&ut3_owner..ut_matcher_options to &ut3_user;
140134
grant execute on &&ut3_owner..ut_matcher_options_items to &ut3_user;
141-
grant execute on &&ut3_owner..ut_run_info to &ut3_user;

source/create_user_synonyms.sql

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ create or replace synonym &ut3_user..ut_file_mapping for &&ut3_owner..ut_file_ma
6161
create or replace synonym &ut3_user..ut_file_mapper for &&ut3_owner..ut_file_mapper;
6262
create or replace synonym &ut3_user..ut_suite_items_info for &&ut3_owner..ut_suite_items_info;
6363
create or replace synonym &ut3_user..ut_suite_item_info for &&ut3_owner..ut_suite_item_info;
64+
create or replace synonym &ut3_user..ut_run_info for &&ut3_owner..ut_run_info;
6465

6566
--generic types
6667
create or replace synonym &ut3_user..ut_varchar2_list for &&ut3_owner..ut_varchar2_list;
@@ -110,16 +111,8 @@ create or replace synonym &ut3_user..ut_debug_reporter for &&ut3_owner..ut_debug
110111
--reporters - base types
111112
create or replace synonym &ut3_user..ut_reporters for &&ut3_owner..ut_reporters;
112113
create or replace synonym &ut3_user..ut_reporter_base for &&ut3_owner..ut_reporter_base;
113-
create or replace synonym &ut3_user..ut_output_reporter_base for &&ut3_owner..ut_output_reporter_base;
114114

115115
--other synonyms
116-
create or replace synonym &ut3_user..ut_output_data_row for &&ut3_owner..ut_output_data_row;
117-
create or replace synonym &ut3_user..ut_output_data_rows for &&ut3_owner..ut_output_data_rows;
118-
create or replace synonym &ut3_user..ut_output_buffer_base for &&ut3_owner..ut_output_buffer_base;
119-
create or replace synonym &ut3_user..ut_output_table_buffer for &&ut3_owner..ut_output_table_buffer;
120-
create or replace synonym &ut3_user..ut_output_clob_table_buffer for &&ut3_owner..ut_output_clob_table_buffer;
121-
122116
create or replace synonym &ut3_user..dbmspcc_blocks for &&ut3_owner..dbmspcc_blocks;
123117
create or replace synonym &ut3_user..dbmspcc_runs for &&ut3_owner..dbmspcc_runs;
124118
create or replace synonym &ut3_user..dbmspcc_units for &&ut3_owner..dbmspcc_units;
125-
create or replace synonym &ut3_user..ut_run_info for &&ut3_owner..ut_run_info;

test/ut3_user/reporters.pkb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ end;]';
148148
end;
149149

150150
procedure check_xml_encoding_included(
151-
a_reporter ut3.ut_output_reporter_base,
151+
a_reporter ut3.ut_reporter_base,
152152
a_client_character_set varchar2
153153
) is
154154
l_results ut3.ut_varchar2_list;
@@ -164,7 +164,7 @@ end;]';
164164
end;
165165

166166
procedure check_xml_failure_escaped(
167-
a_reporter ut3.ut_output_reporter_base
167+
a_reporter ut3.ut_reporter_base
168168
) is
169169
l_results ut3.ut_varchar2_list;
170170
l_actual clob;

test/ut3_user/reporters.pks

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ create or replace package reporters is
1010
procedure reporters_cleanup;
1111

1212
procedure check_xml_encoding_included(
13-
a_reporter ut3.ut_output_reporter_base,
13+
a_reporter ut3.ut_reporter_base,
1414
a_client_character_set varchar2
1515
);
1616

1717
procedure check_xml_failure_escaped(
18-
a_reporter ut3.ut_output_reporter_base
18+
a_reporter ut3.ut_reporter_base
1919
);
2020

2121
end reporters;

0 commit comments

Comments
 (0)