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

Skip to content

Commit 1b4df16

Browse files
committed
Resolves #675
Added grants and synonyms for `ut_expectation` and `ut_expectation_compound`
1 parent f0c90dd commit 1b4df16

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

source/create_synonyms_and_grants_for_public.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ whenever oserror exit failure rollback
3131

3232
alter session set current_schema = &&ut3_owner;
3333

34+
grant execute on &&ut3_owner..ut_expectation to public;
35+
grant execute on &&ut3_owner..ut_expectation_compound to public;
3436
grant execute on &&ut3_owner..ut_be_between to public;
3537
grant execute on &&ut3_owner..ut_be_empty to public;
3638
grant execute on &&ut3_owner..ut_be_false to public;
@@ -101,6 +103,8 @@ end;
101103

102104
prompt Creating synonyms for UTPLSQL objects in &&ut3_owner schema to PUBLIC
103105

106+
create public synonym ut_expectation for &&ut3_owner..ut_expectation;
107+
create public synonym ut_expectation_compound for &&ut3_owner..ut_expectation_compound;
104108
create public synonym be_between for &&ut3_owner..ut_be_between;
105109
create public synonym be_empty for &&ut3_owner..ut_be_empty;
106110
create public synonym be_false for &&ut3_owner..ut_be_false;

source/create_user_grants.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ whenever oserror exit failure rollback
5151

5252
alter session set current_schema = &&ut3_owner;
5353

54+
grant execute on &&ut3_owner..ut_expectation to &ut3_user;
55+
grant execute on &&ut3_owner..ut_expectation_compound to &ut3_user;
5456
grant execute on &&ut3_owner..ut_be_between to &ut3_user;
5557
grant execute on &&ut3_owner..ut_be_empty to &ut3_user;
5658
grant execute on &&ut3_owner..ut_be_false to &ut3_user;

source/create_user_synonyms.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ alter session set current_schema = &&ut3_owner;
5353

5454
prompt Creating synonyms for UTPLSQL objects in &&ut3_owner schema to user &&ut3_user
5555

56+
create or replace synonym &ut3_user..ut_expectation for &&ut3_owner..ut_expectation;
57+
create or replace synonym &ut3_user..ut_expectation_compound for &&ut3_owner..ut_expectation_compound;
5658
create or replace synonym &ut3_user..be_between for &&ut3_owner..be_between;
5759
create or replace synonym &ut3_user..be_empty for &&ut3_owner..be_empty;
5860
create or replace synonym &ut3_user..be_false for &&ut3_owner..be_false;

0 commit comments

Comments
 (0)