|
| 1 | +/* |
| 2 | +Create all necessary grant for the user who owns test packages and want to execute utPLSQL framework |
| 3 | +*/ |
| 4 | + |
| 5 | +prompt Granting user |
| 6 | +set echo off |
| 7 | +set feedback off |
| 8 | +set heading off |
| 9 | +set verify off |
| 10 | + |
| 11 | +define ut3_owner = &1 |
| 12 | + |
| 13 | +grant execute on &ut3_owner .ut_be_between to public; |
| 14 | +grant execute on &ut3_owner .ut_be_false to public; |
| 15 | +grant execute on &ut3_owner .ut_be_greater_or_equal to public; |
| 16 | +grant execute on &ut3_owner .ut_be_greater_than to public; |
| 17 | +grant execute on &ut3_owner .ut_be_less_or_equal to public; |
| 18 | +grant execute on &ut3_owner .ut_be_less_than to public; |
| 19 | +grant execute on &ut3_owner .ut_be_like to public; |
| 20 | +grant execute on &ut3_owner .ut_be_not_null to public; |
| 21 | +grant execute on &ut3_owner .ut_be_null to public; |
| 22 | +grant execute on &ut3_owner .ut_be_true to public; |
| 23 | +grant execute on &ut3_owner .ut_equal to public; |
| 24 | +grant execute on &ut3_owner .ut_match to public; |
| 25 | +grant execute on &ut3_owner .ut to public; |
| 26 | +grant execute on &ut3_owner .ut_runner to public; |
| 27 | +grant execute on &ut3_owner .ut_teamcity_reporter to public; |
| 28 | +grant execute on &ut3_owner .ut_documentation_reporter to public; |
| 29 | +grant execute on &ut3_owner .ut_reporters to public; |
| 30 | + |
| 31 | +create or replace public synonym be_between for &ut3_owner .ut_be_between; |
| 32 | +create or replace public synonym be_false for &ut3_owner .ut_be_false; |
| 33 | +create or replace public synonym be_greater_or_equal for &ut3_owner .ut_be_greater_or_equal; |
| 34 | +create or replace public synonym be_greater_than for &ut3_owner .ut_be_greater_than; |
| 35 | +create or replace public synonym be_less_or_equal for &ut3_owner .ut_be_less_or_equal; |
| 36 | +create or replace public synonym be_less_than for &ut3_owner .ut_be_less_than; |
| 37 | +create or replace public synonym be_like for &ut3_owner .ut_be_like; |
| 38 | +create or replace public synonym be_not_null for &ut3_owner .ut_be_not_null; |
| 39 | +create or replace public synonym be_null for &ut3_owner .ut_be_null; |
| 40 | +create or replace public synonym be_true for &ut3_owner .ut_be_true; |
| 41 | +create or replace public synonym equal for &ut3_owner .ut_equal; |
| 42 | +create or replace public synonym match for &ut3_owner .ut_match; |
| 43 | +create or replace public synonym ut for &ut3_owner .ut; |
| 44 | +create or replace public synonym ut_runner for &ut3_owner .ut_runner; |
| 45 | +create or replace public synonym ut_teamcity_reporter for &ut3_owner .ut_teamcity_reporter; |
| 46 | +create or replace public synonym ut_documentation_reporter for &ut3_owner .ut_documentation_reporter; |
| 47 | +create or replace public synonym ut_reporters for &ut3_owner .ut_reporters; |
0 commit comments