summaryrefslogtreecommitdiffstats
path: root/authz-test/TestSuite/TC_User1/40_viewByRole
blob: 824f01e2b6d0ba4e7940606bd375153bf6b0a7b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# TC_User1.40.1.NEG Non-admin, user not in role should not view
expect 403
as testunused@aaf.att.com
user list role com.test.TC_User1.@[user.name].manager
user list role com.test.TC_User1.@[user.name].worker

as m99990@@[user.name].TC_User1.test.com
# TC_User1.40.2.NEG Non-admin, user in role should not view
expect 403
user list role com.test.TC_User1.@[user.name].manager

sleep @[NFR]
# TC_User1.40.3.POS Non-admin, user in role can view himself
expect 200
user list role com.test.TC_User1.@[user.name].worker

as testid@aaf.att.com
# TC_User1.40.10.POS admin should view
expect 200
user list role com.test.TC_User1.@[user.name].manager
user list role com.test.TC_User1.@[user.name].worker