blob: ca2f7c5333d9c608660f1bc2ec59d740c105474a [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001# TC_Perm3.30.0.POS User1 Create a Perm
2as testid_1@test.com
3expect 201
4perm 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
7expect 403
8role 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
11as testunused@aaf.att.com
12expect 201
13role 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
16expect 403
17perm 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
20as testid_1@test.com
21expect 403
22perm grant com.test.TC_Perm3.@[user.name]_1.dev.myPerm_b myInstance myAction com.att.TC_Perm3.@[user.name].dev.myRole_b
23