Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / MTC_Appr1 / 10_init
1
2 as testid@aaf.att.com
3
4 # TC_Appr1.10.0.POS List NS to prove ok
5 expect 200
6 ns list name com.test.appr
7 ns list name com.test.appr.@[user.name]
8
9 # TC_Appr1.10.1.POS Create Personalized Namespace to add Approvals
10 expect 201
11 ns create com.test.appr.@[user.name] @[user.name] testid@aaf.att.com
12
13 # TC_Appr1.10.2.POS Create General Namespace to add Approvals
14 ns create com.test.appr @[user.name] testid@aaf.att.com
15
16 # TC_Appr1.10.10.POS Create Roles in Namespace
17 role create com.test.appr.@[user.name].addToUserRole
18 role create com.test.appr.@[user.name].grantToPerm
19 role create com.test.appr.@[user.name].ungrantFromPerm
20 role create com.test.appr.@[user.name].grantFirstPerm
21 role create com.test.appr.@[user.name].grantSecondPerm
22
23 # TC_Appr1.10.12.POS Create Permissions in Namespace
24 perm create com.test.appr.@[user.name].ungrantFromRole myInstance myAction com.test.appr.@[user.name].ungrantFromPerm
25 perm create com.test.appr.@[user.name].grantToRole myInstance myAction
26 force perm create com.test.appr.@[user.name].deleteThisPerm myInstance myAction com.test.appr.@[user.name].grantedRole
27 perm create com.test.appr.@[user.name].grantTwoRoles myInstance myAction
28 perm create com.test.appr.@[user.name].ungrantTwoRoles myInstance myAction com.test.appr.@[user.name].grantFirstPerm,com.test.appr.@[user.name].grantSecondPerm
29