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

Skip to content

Commit 0dd978f

Browse files
grant privileges to debug via UT3_USER
1 parent 789ad61 commit 0dd978f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.travis/install.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,20 @@ PROMPT Creating $UT3_USER - minimal privileges user for API testing
113113
create user $UT3_USER identified by "$UT3_USER_PASSWORD" default tablespace $UT3_TABLESPACE quota unlimited on $UT3_TABLESPACE;
114114
grant create session, create procedure, create type, create table to $UT3_USER;
115115
116+
PROMPT Grants for starting a debugging session from $UT3_USER
117+
grant debug connect session to $UT3_USER;
118+
begin
119+
dbms_network_acl_admin.append_host_ace (
120+
host =>'*',
121+
ace => sys.xs\$ace_type(
122+
privilege_list => sys.xs\$name_list('JDWP') ,
123+
principal_name => '$UT3_USER',
124+
principal_type => sys.xs_acl.ptype_db
125+
)
126+
);
127+
end;
128+
/
129+
grant debug any procedure to $UT3_USER;
116130
117131
--------------------------------------------------------------------------------
118132
PROMPT Creating $UT3_TESTER_HELPER - provides functions to allow min grant test user setup tests.

0 commit comments

Comments
 (0)