Skip to content

Commit 8e6a7e2

Browse files
committed
Remove set container permission from cwms_dba.
1 parent 5e748a2 commit 8e6a7e2

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

schema/src/buildCWMS_DB.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ begin execute immediate 'create user ' || cwms_sec.cac_service_user || ' PROFILE
207207
-- Replace connect to role with create session/set container for RDS compatibility
208208
begin execute immediate 'grant create session to ' || cwms_sec.cac_service_user; end;
209209
/
210-
begin execute immediate 'grant set container to ' || cwms_sec.cac_service_user; end;
211-
/
210+
--begin execute immediate 'grant set container to ' || cwms_sec.cac_service_user; end;
211+
--/
212212

213213
set echo off
214214
--

schema/src/cwms/User-Roles/cwms_dba_user.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ CREATE USER CWMS_DBA no authentication
77
-- This grants connect role
88
GRANT CREATE SESSION TO CWMS_DBA
99
/
10-
GRANT SET CONTAINER TO CWMS_DBA
11-
/
10+
1211
-- This role seems to be unnecessary and is causing problem on M3000 installations
1312
-- GRANT "MGMT_USER" TO "CWMS_DBA"
1413
/

schema/src/cwms/User-Roles/cwms_user_role_grant_system.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
grant create session to cwms_user;
2-
grant set container to cwms_user;
2+
--grant set container to cwms_user;
33
grant aq_user_role to cwms_user;
44
grant aq_administrator_role to cwms_user;
55
--grant select on dba_scheduler_jobs to cwms_user;

0 commit comments

Comments
 (0)