2 # TC_NS2.20.1.POS Create roles
4 role create com.test.TC_NS2.@[user.name].watcher
5 role create com.test.TC_NS2.@[user.name].myRole
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 * *
11 # TC_NS2.20.3.POS Create mechid
12 user cred add m99990@@[user.name].TC_NS2.test.com password123
15 # TC_NS2.20.10.POS Grant view perms to watcher role
17 perm create com.att.aaf.ns :com.test.TC_NS2.@[user.name]:ns read com.test.TC_NS2.@[user.name].watcher