Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_Perm3 / 30_outerGrants
1 # TC_Perm3.30.0.POS User1 Create a Perm
2 as testid_1@test.com
3 expect 201
4 perm create com.test.TC_Perm3.@[user.name]_1.dev.myPerm_b myInstance myAction
5
6 # TC_Perm3.30.5.NEG User1 should not be able to create Role in other group
7 expect 403
8 role create com.test.TC_Perm3.@[user.name]_2.dev.myRole_b
9
10 # TC_Perm3.30.6.POS User2 should be able to create Role in own group
11 as testunused@aaf.att.com
12 expect 201
13 role create com.att.TC_Perm3.@[user.name].dev.myRole_b
14
15 # TC_Perm3.30.7.NEG User2 should not be able to grant Perm to own Role
16 expect 403
17 perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_b myInstance myAction com.att.TC_Perm3.@[user.name].dev.myRole_b
18
19 # TC_Perm3.30.8.POS User should be able to grant cross company only Double Perm
20 as testid_1@test.com
21 expect 403
22 perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_b myInstance myAction com.att.TC_Perm3.@[user.name].dev.myRole_b
23