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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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
  • Loading branch information
jgebal committed Jun 23, 2019
commit dd9afb00278dd3c6c1e7669664e00e724701566a
18 changes: 2 additions & 16 deletions source/create_synonyms_and_grants_for_public.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ grant execute on &&ut3_owner..ut_file_mapping to public;
grant execute on &&ut3_owner..ut_file_mapper to public;
grant execute on &&ut3_owner..ut_suite_items_info to public;
grant execute on &&ut3_owner..ut_suite_item_info to public;
grant execute on &&ut3_owner..ut_run_info to public;

--generic types
grant execute on &&ut3_owner..ut_varchar2_list to public;
Expand Down Expand Up @@ -88,16 +89,9 @@ grant execute on &&ut3_owner..ut_debug_reporter to public;
--reporters - base types
grant execute on &&ut3_owner..ut_reporters to public;
grant execute on &&ut3_owner..ut_reporter_base to public;
grant execute on &&ut3_owner..ut_output_reporter_base to public;
grant execute on &&ut3_owner..ut_coverage_reporter_base to public;
grant execute on &&ut3_owner..ut_console_reporter_base to public;

--outputs
grant execute on &&ut3_owner..ut_output_data_row to public;
grant execute on &&ut3_owner..ut_output_data_rows to public;
grant execute on &&ut3_owner..ut_output_buffer_base to public;
grant execute on &&ut3_owner..ut_output_table_buffer to public;
grant execute on &&ut3_owner..ut_output_clob_table_buffer to public;

--user temp tables
grant select, insert, update, delete on &&ut3_owner..ut_compound_data_tmp to public;
Expand All @@ -119,7 +113,6 @@ grant select, insert, delete, update on &&ut3_owner..dbmspcc_runs to public;
grant select, insert, delete, update on &&ut3_owner..dbmspcc_units to public;
grant execute on &&ut3_owner..ut_matcher_options to public;
grant execute on &&ut3_owner..ut_matcher_options_items to public;
grant execute on &&ut3_owner..ut_run_info to public;


prompt Creating synonyms for UTPLSQL objects in &&ut3_owner schema to PUBLIC
Expand All @@ -132,6 +125,7 @@ create public synonym ut_file_mapping for &&ut3_owner..ut_file_mapping;
create public synonym ut_file_mapper for &&ut3_owner..ut_file_mapper;
create public synonym ut_suite_items_info for &&ut3_owner..ut_suite_items_info;
create public synonym ut_suite_item_info for &&ut3_owner..ut_suite_item_info;
create public synonym ut_run_info for &&ut3_owner..ut_run_info;

--generic types
create public synonym ut_varchar2_list for &&ut3_owner..ut_varchar2_list;
Expand Down Expand Up @@ -181,16 +175,8 @@ create public synonym ut_debug_reporter for &&ut3_owner..ut_debug_reporter;
--reporters - base types
create public synonym ut_reporters for &&ut3_owner..ut_reporters;
create public synonym ut_reporter_base for &&ut3_owner..ut_reporter_base;
create public synonym ut_output_reporter_base for &&ut3_owner..ut_output_reporter_base;

--other synonyms
create public synonym ut_output_data_row for &&ut3_owner..ut_output_data_row;
create public synonym ut_output_data_rows for &&ut3_owner..ut_output_data_rows;
create public synonym ut_output_buffer_base for &&ut3_owner..ut_output_buffer_base;
create public synonym ut_output_table_buffer for &&ut3_owner..ut_output_table_buffer;
create public synonym ut_output_clob_table_buffer for &&ut3_owner..ut_output_clob_table_buffer;

create public synonym dbmspcc_blocks for &&ut3_owner..dbmspcc_blocks;
create public synonym dbmspcc_runs for &&ut3_owner..dbmspcc_runs;
create public synonym dbmspcc_units for &&ut3_owner..dbmspcc_units;
create public synonym ut_run_info for &&ut3_owner..ut_run_info;
9 changes: 1 addition & 8 deletions source/create_user_grants.sql
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ grant execute on &&ut3_owner..ut_file_mapping to &ut3_user;
grant execute on &&ut3_owner..ut_file_mapper to &ut3_user;
grant execute on &&ut3_owner..ut_suite_items_info to &ut3_user;
grant execute on &&ut3_owner..ut_suite_item_info to &ut3_user;
grant execute on &&ut3_owner..ut_run_info to &ut3_user;

--generic types
grant execute on &&ut3_owner..ut_varchar2_list to &ut3_user;
Expand Down Expand Up @@ -107,16 +108,9 @@ grant execute on &&ut3_owner..ut_debug_reporter to &ut3_user;
--reporters - base types
grant execute on &&ut3_owner..ut_reporters to &ut3_user;
grant execute on &&ut3_owner..ut_reporter_base to &ut3_user;
grant execute on &&ut3_owner..ut_output_reporter_base to &ut3_user;
grant execute on &&ut3_owner..ut_coverage_reporter_base to &ut3_user;
grant execute on &&ut3_owner..ut_console_reporter_base to &ut3_user;

--outputs
grant execute on &&ut3_owner..ut_output_buffer_base to &ut3_user;
grant execute on &&ut3_owner..ut_output_data_row to &ut3_user;
grant execute on &&ut3_owner..ut_output_data_rows to &ut3_user;
grant execute on &&ut3_owner..ut_output_table_buffer to &ut3_user;
grant execute on &&ut3_owner..ut_output_clob_table_buffer to &ut3_user;

--user temp tables
grant select, insert, update, delete on &&ut3_owner..ut_compound_data_tmp to &ut3_user;
Expand All @@ -138,4 +132,3 @@ grant select, insert, delete, update on &&ut3_owner..dbmspcc_runs to &ut3_user;
grant select, insert, delete, update on &&ut3_owner..dbmspcc_units to &ut3_user;
grant execute on &&ut3_owner..ut_matcher_options to &ut3_user;
grant execute on &&ut3_owner..ut_matcher_options_items to &ut3_user;
grant execute on &&ut3_owner..ut_run_info to &ut3_user;
9 changes: 1 addition & 8 deletions source/create_user_synonyms.sql
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ create or replace synonym &ut3_user..ut_file_mapping for &&ut3_owner..ut_file_ma
create or replace synonym &ut3_user..ut_file_mapper for &&ut3_owner..ut_file_mapper;
create or replace synonym &ut3_user..ut_suite_items_info for &&ut3_owner..ut_suite_items_info;
create or replace synonym &ut3_user..ut_suite_item_info for &&ut3_owner..ut_suite_item_info;
create or replace synonym &ut3_user..ut_run_info for &&ut3_owner..ut_run_info;

--generic types
create or replace synonym &ut3_user..ut_varchar2_list for &&ut3_owner..ut_varchar2_list;
Expand Down Expand Up @@ -110,16 +111,8 @@ create or replace synonym &ut3_user..ut_debug_reporter for &&ut3_owner..ut_debug
--reporters - base types
create or replace synonym &ut3_user..ut_reporters for &&ut3_owner..ut_reporters;
create or replace synonym &ut3_user..ut_reporter_base for &&ut3_owner..ut_reporter_base;
create or replace synonym &ut3_user..ut_output_reporter_base for &&ut3_owner..ut_output_reporter_base;

--other synonyms
create or replace synonym &ut3_user..ut_output_data_row for &&ut3_owner..ut_output_data_row;
create or replace synonym &ut3_user..ut_output_data_rows for &&ut3_owner..ut_output_data_rows;
create or replace synonym &ut3_user..ut_output_buffer_base for &&ut3_owner..ut_output_buffer_base;
create or replace synonym &ut3_user..ut_output_table_buffer for &&ut3_owner..ut_output_table_buffer;
create or replace synonym &ut3_user..ut_output_clob_table_buffer for &&ut3_owner..ut_output_clob_table_buffer;

create or replace synonym &ut3_user..dbmspcc_blocks for &&ut3_owner..dbmspcc_blocks;
create or replace synonym &ut3_user..dbmspcc_runs for &&ut3_owner..dbmspcc_runs;
create or replace synonym &ut3_user..dbmspcc_units for &&ut3_owner..dbmspcc_units;
create or replace synonym &ut3_user..ut_run_info for &&ut3_owner..ut_run_info;
4 changes: 2 additions & 2 deletions test/ut3_user/reporters.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ end;]';
end;

procedure check_xml_encoding_included(
a_reporter ut3.ut_output_reporter_base,
a_reporter ut3.ut_reporter_base,
a_client_character_set varchar2
) is
l_results ut3.ut_varchar2_list;
Expand All @@ -164,7 +164,7 @@ end;]';
end;

procedure check_xml_failure_escaped(
a_reporter ut3.ut_output_reporter_base
a_reporter ut3.ut_reporter_base
) is
l_results ut3.ut_varchar2_list;
l_actual clob;
Expand Down
4 changes: 2 additions & 2 deletions test/ut3_user/reporters.pks
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ create or replace package reporters is
procedure reporters_cleanup;

procedure check_xml_encoding_included(
a_reporter ut3.ut_output_reporter_base,
a_reporter ut3.ut_reporter_base,
a_client_character_set varchar2
);

procedure check_xml_failure_escaped(
a_reporter ut3.ut_output_reporter_base
a_reporter ut3.ut_reporter_base
);

end reporters;
Expand Down