Changes between Version 1 and Version 2 of banScriptHell
- Timestamp:
- 06/20/17 15:58:32 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
banScriptHell
v1 v2 4 4 Two circumstances prompt mass updates to user privileges in the ZUAUSR tables: 1) A Change is made in the structure of ZUAUSR classes for the sake of better management and 2) Banner functionality has increased and all users must be retroactively granted those roles in Banner as well as recording the same in ZUAUSR. 5 5 6 = Structural Changes Made in the ZUAUSR Tables=6 == Structural Changes Made in the ZUAUSR Tables == 7 7 8 8 9 = Banner Functionality Necessitates Increased Roles=9 == Banner Functionality Necessitates Increased Roles == 10 10 11 The process required to add scripts to ZUAUSR is discussed in [[https://iam.alaska.edu/trac/wiki/scriptHell|Creating, Modifying, or Deleting ZUAUSR Processing Scripts]] 12 {{{ 13 select 'alter user ' || username || ' grant connect through banproxy;' 14 from dba_users 15 where username not in 16 (select grantee from dba_role_privs where granted_role='TERMINATED') 17 and profile='USER_GENERAL' 18 and username not in ('BFINMGR','SYAUD01','SYFINEV') 19 and username not in (select client from sys.proxy_users); 20 }}} 21 22 11 The process required to add scripts to ZUAUSR is discussed in [[https://iam.alaska.edu/trac/wiki/scriptHell|Creating, Modifying, or Deleting ZUAUSR Processing Scripts]]. The process to add new Banner classes to ZUAUSR is discussed at [[https://iam.alaska.edu/trac/wiki/bannerRoleSteps|Integrating a New Banner Role into ZUAUSR]]. 23 12 To get a list of users needing the new class added in ZUAUSR, you can execute 24 13 the query and select just the usernames. I'd suggest verifying that there are no … … 34 23 and username not in (select client from sys.proxy_users); 35 24 }}} 25 26 To add the privilege in Banner: 27 {{{ 28 select 'alter user ' || username || ' grant connect through banproxy;' 29 from dba_users 30 where username not in 31 (select grantee from dba_role_privs where granted_role='TERMINATED') 32 and profile='USER_GENERAL' 33 and username not in ('BFINMGR','SYAUD01','SYFINEV') 34 and username not in (select client from sys.proxy_users); 35 }}} 36 37