Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_UR1 / 30_userrole
1 # TC_UR1.30.10.POS Create a UserRole
2 expect 201
3 user role add m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1
4
5 # TC_UR1.30.11.NEG Created UserRole Exists
6 expect 409
7 user role add m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1
8
9 # TC_UR1.30.13.POS Delete UserRole 
10 sleep @[NFR]
11 expect 200
12 user role del m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1
13
14
15 # TC_UR1.30.20.POS Create multiple UserRoles
16 expect 201
17 user role add m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1,com.test.TC_UR1.@[user.name].r2
18
19 # TC_UR1.30.21.NEG Created UserRole Exists
20 expect 409
21 user role add m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1,com.test.TC_UR1.@[user.name].r2
22
23 # TC_UR1.30.23.POS Delete UserRole 
24 sleep @[NFR]
25 expect 200
26 user role del m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1,com.test.TC_UR1.@[user.name].r2
27
28 # TC_UR1.30.30.POS Create a Role User
29 expect 201
30 role user add com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com 
31
32 # TC_UR1.30.31.NEG Created Role User Exists
33 expect 409
34 role user add com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com 
35
36 # TC_UR1.30.33.POS Delete Role User
37 sleep @[NFR]
38 expect 200
39 role user del com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com
40
41 # TC_UR1.30.40.POS Create multiple Role Users
42 expect 201
43 role user add com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com,m00002@@[user.name].TC_UR1.test.com
44
45 # TC_UR1.30.41.NEG Created Role User Exists
46 expect 409
47 role user add com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com,m00002@@[user.name].TC_UR1.test.com
48
49 # TC_UR1.30.43.POS Delete Role Users 
50 sleep @[NFR]
51 expect 200
52 role user del com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com,m00002@@[user.name].TC_UR1.test.com
53