Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_User1 / 20_add_data
1 as testid@aaf.att.com
2 # TC_User1.20.1.POS Create roles
3 expect 201
4 role create com.test.TC_User1.@[user.name].manager
5 role create com.test.TC_User1.@[user.name].worker
6
7 # TC_User1.20.2.POS Create permissions
8 perm create com.test.TC_User1.@[user.name].supplies * move com.test.TC_User1.@[user.name].worker
9 perm create com.test.TC_User1.@[user.name].supplies * stock com.test.TC_User1.@[user.name].worker
10 perm create com.test.TC_User1.@[user.name].schedule worker create com.test.TC_User1.@[user.name].manager
11 perm create com.test.TC_User1.@[user.name].worker * annoy com.test.TC_User1.@[user.name].manager
12
13 # TC_User1.20.3.POS Create mechid
14 user cred add m99990@@[user.name].TC_User1.test.com password123
15 user cred add m99995@@[user.name].TC_User1.test.com password123
16
17 as XX@NS
18 # TC_User1.20.10.POS Add users to roles
19 expect 201
20 user role add @[user.name] com.test.TC_User1.@[user.name].manager
21 user role add m99990@@[user.name].TC_User1.test.com com.test.TC_User1.@[user.name].worker
22
23 # TC_User1.20.20.POS Add Delegate
24 as XX@NS
25 # TC_User1.20.20.POS Create delegates
26 force user delegate add @[user.name] @[user.name]