sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | # TC_UR1.40.10.POS Create multiple UserRoles
|
| 2 | expect 200
|
| 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
|
| 4 |
|
| 5 | # TC_UR1.40.11.POS Reset userrole for a user
|
| 6 | expect 200
|
| 7 | user role setTo m00001@@[user.name].TC_UR1.test.com
|
| 8 |
|
| 9 | # TC_UR1.40.12.NEG Create userrole where Role doesn't exist
|
| 10 | expect 404
|
| 11 | user 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
|
| 14 | expect 403
|
| 15 | user role setTo m99999@@[user.name].TC_UR1.test.com com.test.TC_UR1.@[user.name].r1
|
| 16 |
|
| 17 | as testunused@aaf.att.com
|
| 18 | # TC_UR1.40.19.NEG User without permission tries to add userrole
|
| 19 | expect 403
|
| 20 | user 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
|
| 23 | expect 403
|
| 24 | role user setTo com.test.TC_UR1.@[user.name].r1 m00001@@[user.name].TC_UR1.test.com
|
| 25 |
|
| 26 | as testid@aaf.att.com
|
| 27 | # TC_UR1.40.22.POS Reset userrole for a user
|
| 28 | expect 200
|
| 29 | role user setTo com.test.TC_UR1.@[user.name].r1
|
| 30 |
|
| 31 | sleep @[NFR]
|
| 32 | # TC_UR1.40.23.NEG Create UserRole where Role doesn't exist
|
| 33 | expect 404
|
| 34 | role user setTo com.test.TC_UR1.@[user.name].r5 m00001@@[user.name].TC_UR1.test.com
|
| 35 |
|
| 36 | sleep @[NFR]
|
| 37 | # TC_UR1.40.24.NEG Create UserRole where User doesn't exist
|
| 38 | expect 403
|
| 39 | role user setTo com.test.TC_UR1.@[user.name].r1 m99999@@[user.name].TC_UR1.test.com
|
| 40 |
|