Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_PW1 / 10_init
1
2 as testid@aaf.att.com
3
4 # TC_PW1.10.0.POS Validate no NS
5 expect 200,404
6 ns list name com.test.TC_PW1.@[user.name] 
7
8 # TC_PW1.10.1.POS Create Namespace to add IDs
9 expect 201
10 ns create com.test.TC_PW1.@[user.name] @[user.name] testid@aaf.att.com
11
12 # TC_PW1.10.10.POS Create role to assign mechid perm to
13 expect 201
14 role create com.test.TC_PW1.@[user.name].cred_admin
15
16 as XX@NS
17 # TC_PW1.10.11.POS Assign role to mechid perm
18 expect 201
19 perm grant com.att.aaf.mechid com.att create com.test.TC_PW1.@[user.name].cred_admin
20
21 as testid@aaf.att.com
22 # TC_PW1.10.12.POS Assign user for creating creds
23 expect 201
24 user role add testid@aaf.att.com com.test.TC_PW1.@[user.name].cred_admin