Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_NS2 / 20_add_data
1 as testid@aaf.att.com
2 # TC_NS2.20.1.POS Create roles
3 expect 201
4 role create com.test.TC_NS2.@[user.name].watcher
5 role create com.test.TC_NS2.@[user.name].myRole
6
7 # TC_NS2.20.2.POS Create permissions
8 perm create com.test.TC_NS2.@[user.name].myType myInstance myAction
9 perm create com.test.TC_NS2.@[user.name].myType * *
10
11 # TC_NS2.20.3.POS Create mechid
12 user cred add m99990@@[user.name].TC_NS2.test.com password123
13
14 as XX@NS
15 # TC_NS2.20.10.POS Grant view perms to watcher role
16 expect 201
17 perm create com.att.aaf.ns :com.test.TC_NS2.@[user.name]:ns read com.test.TC_NS2.@[user.name].watcher
18