Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_UR1 / 40_reset
1 # TC_UR1.40.10.POS Create multiple UserRoles\r
2 expect 200\r
3 user role setTo m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1,com.test.TC_UR1.@[user.name].r2\r
4 \r
5 # TC_UR1.40.11.POS Reset userrole for a user\r
6 expect 200\r
7 user role setTo m00001@@[user.name].TC_UR1.test.com\r
8 \r
9 # TC_UR1.40.12.NEG Create userrole where Role doesn't exist\r
10 expect 404\r
11 user role setTo m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r5\r
12 \r
13 # TC_UR1.40.13.NEG Create userrole where User doesn't exist\r
14 expect 403\r
15 user role setTo m99999@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1\r
16 \r
17 as testunused@aaf.att.com\r
18 # TC_UR1.40.19.NEG User without permission tries to add userrole\r
19 expect 403\r
20 user role setTo m00001@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1\r
21 \r
22 # TC_UR1.40.20.NEG User without permission tries to add userrole\r
23 expect 403\r
24 role user setTo com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com\r
25 \r
26 as testid@aaf.att.com\r
27 # TC_UR1.40.22.POS Reset userrole for a user\r
28 expect 200\r
29 role user setTo com.test.TC_UR1.@[user.name].r1\r
30 \r
31 sleep @[NFR]\r
32 # TC_UR1.40.23.NEG Create UserRole where Role doesn't exist\r
33 expect 404\r
34 role user setTo com.test.TC_UR1.@[user.name].r5 m00001@@[user.name].TC_UR1.test.com\r
35 \r
36 sleep @[NFR]\r
37 # TC_UR1.40.24.NEG Create UserRole where User doesn't exist\r
38 expect 403\r
39 role user setTo com.test.TC_UR1.@[user.name].r1 m99999@@[user.name].TC_UR1.test.com\r
40 \r