Skip to content

Commit

Permalink
Bugfix: Grant AUDIT_VIEWER to test user in autonomous DB
Browse files Browse the repository at this point in the history
  • Loading branch information
rammpeter committed Sep 17, 2023
1 parent 064bdea commit e740073
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/ansible/setup_autonomous_db.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Setup Oracle allways free autonomous DB for Panorama tests
-- Setup Oracle always free autonomous DB for Panorama tests
-- connect as 'admin'

purge dba_recyclebin;
Expand Down Expand Up @@ -29,6 +29,7 @@ DECLARE
EXECUTE IMMEDIATE 'GRANT SELECT ON V$DIAG_ALERT_EXT TO '||p_Name;
EXECUTE IMMEDIATE 'GRANT READ ON SYS.DBMS_LOCK_ALLOCATED TO '||p_Name;
EXECUTE IMMEDIATE 'GRANT READ ON gv$BH TO '||p_Name;
EXECUTE IMMEDIATE 'GRANT AUDIT_VIEWER TO '||p_Name;
EXECUTE IMMEDIATE 'ALTER USER '||p_Name||' QUOTA UNLIMITED ON DATA';
END Create_User;
BEGIN
Expand Down

0 comments on commit e740073

Please sign in to comment.