summaryrefslogtreecommitdiffstats
path: root/authz-test/TestSuite/TC_Perm2/43_viewByRole
blob: 29585b47d97ed5970d103daba508a1a5b3cd8d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# TC_Perm2.43.10.POS List perms when allowed to see Role
as testid@aaf.att.com
expect 200
perm list role com.test.TC_Perm2.@[user.name].p.superUser
perm list role com.test.TC_Perm2.@[user.name].p.watcher
perm list role com.test.TC_Perm2.@[user.name].p.secret

# TC_Perm2.43.20.NEG Don't List perms when not allowed to see Role
as testunused@aaf.att.com
expect 403
perm list role com.test.TC_Perm2.@[user.name].p.superUser
perm list role com.test.TC_Perm2.@[user.name].p.watcher
perm list role com.test.TC_Perm2.@[user.name].p.secret