Skip to content

Commit 3b00356

Browse files
authored
Add explicit grants for public packages
The privileges on the referenced packages are often revoked from PUBLIC as database hardening. Not relying on these grants being available makes the install script more robust.
1 parent 1bd3028 commit 3b00356

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

source/create_utplsql_owner.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ end;
4141
/
4242

4343
grant execute on dbms_crypto to &ut3_owner_schema;
44+
grant execute on dbms_lob to &ut3_owner_schema;
45+
grant execute on dbms_xmlgen to &ut3_owner_schema;
46+
grant execute on dbms_sql to &ut3_owner_schema;
47+
grant execute on dbms_random to &ut3_owner_schema;
48+
4449

4550
grant alter session to &ut3_owner_schema;
4651

0 commit comments

Comments
 (0)