Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_User1 / 10_init
1
2 as testid@aaf.att.com
3 # TC_User1.10.0.POS Check for Existing Data
4 expect 200
5 ns list name com.test.TC_User1.@[user.name]
6
7 # TC_User1.10.1.POS Create Namespace with valid IDs and Responsible Parties
8 expect 201
9 ns create com.test.TC_User1.@[user.name] @[user.name] testid@aaf.att.com
10
11 # TC_User1.10.10.POS Create role to assign mechid perm to
12 expect 201
13 role create com.test.TC_User1.@[user.name].cred_admin testid@aaf.att.com
14
15 as XX@NS:<pass>
16 # TC_User1.10.11.POS Assign role to mechid perm
17 expect 201
18 perm grant com.att.aaf.mechid com.att create com.test.TC_User1.@[user.name].cred_admin
19 perm grant com.att.aaf.delg com.att change com.test.TC_User1.@[user.name].cred_admin
20
21 as testid@aaf.att.com
22 # TC_User1.01.99.POS Expect Namespace to be created
23 expect 200
24 ns list name com.test.TC_User1.@[user.name] 
25