2 # TC_User1.20.1.POS Create roles
4 role create com.test.TC_User1.@[user.name].manager
5 role create com.test.TC_User1.@[user.name].worker
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
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
18 # TC_User1.20.10.POS Add users to roles
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
23 # TC_User1.20.20.POS Add Delegate
25 # TC_User1.20.20.POS Create delegates
26 force user delegate add @[user.name] @[user.name]