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