forked from pvelder/wlst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrantBPMProcessRolesAppZMS.py
34 lines (32 loc) · 1.13 KB
/
grantBPMProcessRolesAppZMS.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Make sure you start wlst from: $MW_HOME/oracle_common/common/bin/wlst.sh
#
# connect('whlogic','rocks','t3://adminservernode.nl:7001')
# Who: Tony van Esch
#When: Fri Feb 14 15:12:04 2014
#
listAppRoles('OracleBPMProcessRolesApp')
try:
grantAppRole("OracleBPMProcessRolesApp","Intake.Administratie","weblogic.security.principal.WLSGroupImpl","G-COVOG-Administratief")
except:
pass
try:
grantAppRole("OracleBPMProcessRolesApp","BBH.Administratie","weblogic.security.principal.WLSGroupImpl","G-COVOG-Administratief")
except:
pass
try:
grantAppRole("OracleBPMProcessRolesApp","Opschorten.Administratie","weblogic.security.principal.WLSGroupImpl","G-COVOG-Administratief")
except:
pass
try:
grantAppRole("OracleBPMProcessRolesApp","Afhandelen.Administratie","weblogic.security.principal.WLSGroupImpl","G-COVOG-Administratief")
except:
pass
try:
grantAppRole("OracleBPMProcessRolesApp","Intake.JuniorMedewerker","weblogic.security.principal.WLSGroupImpl","G-COVOG-JuniorMedewerker")
except:
pass
try:
grantAppRole("OracleBPMProcessRolesApp","Beoordelen.SAMR","weblogic.security.principal.WLSGroupImpl","G-COVOG-SAMR")
except:
pass