Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_Wild / 21_perm
1 as m99999@@[user.name].TC_Wild.att.com
2
3 # TC_Wild.21.1.NEG Fail to create a perm in NS
4 expect 403
5 perm create com.att.TC_Wild.@[user.name].myType myInstance myAction
6
7
8 # TC_Wild.21.3.POS Add "access perm" based Wild Card with specific Action
9 as XX@NS
10 expect 201
11 perm create com.att.TC_Wild.@[user.name].access :perm:myType:*:* write com.att.TC_Wild.@[user.name].service
12
13 # TC_Wild.21.5.POS Print Perms
14 expect 200
15 perm list user m99999@@[user.name].TC_Wild.att.com
16
17
18 # TC_Wild.21.7.POS Now able to create a perm in NS
19 as m99999@@[user.name].TC_Wild.att.com
20 expect 201
21 perm create com.att.TC_Wild.@[user.name].myType myInstance myAction
22
23
24 # TC_Wild.21.8.POS Print Perms
25 as XX@NS
26 expect 200
27 perm list ns com.att.TC_Wild.@[user.name]
28
29 # TC_Wild.21.10.POS Delete Perms Created
30 expect 200
31 force perm delete com.att.TC_Wild.@[user.name].access :perm:myType:*:* write
32 force perm delete com.att.TC_Wild.@[user.name].myType myInstance myAction
33