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