Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_UR1 / 10_init
1 as testid@aaf.att.com
2 # TC_UR1.10.0.POS Validate no NS
3 expect 200
4 ns list name com.test.TC_UR1.@[user.name] 
5
6 # TC_UR1.10.1.POS Create Namespace to add IDs
7 expect 201
8 ns create com.test.TC_UR1.@[user.name] @[user.name] testid@aaf.att.com
9
10 # TC_Role1.10.10.POS Create role to assign mechid perm to
11 expect 201
12 role create com.test.TC_UR1.@[user.name].cred_admin
13
14 as XX@NS
15 # TC_Role1.10.11.POS Assign role to mechid perm
16 expect 201
17 perm grant com.att.aaf.mechid com.att create com.test.TC_UR1.@[user.name].cred_admin
18
19 as testid@aaf.att.com
20 # TC_Role1.10.12.POS Assign user for creating creds
21 expect 201
22 user role add testid@aaf.att.com com.test.TC_UR1.@[user.name].cred_admin
23
24 # TC_UR1.10.20.POS Create two Credentials
25 user cred add m00001@@[user.name].TC_UR1.test.com "abc123sd"
26 user cred add m00002@@[user.name].TC_UR1.test.com "abc123sd"
27
28 # TC_UR1.10.21.POS Create two Roles
29 role create com.test.TC_UR1.@[user.name].r1
30 role create com.test.TC_UR1.@[user.name].r2
31