blob: 6539acc724eaf74eeacf008febca026c3c17738c [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001
2as testunused@aaf.att.com
3# TC_NS2.40.1.NEG Non-admin, not granted user should not view
4expect 403
5ns list name com.test.TC_NS2.@[user.name]
6
7as testid@aaf.att.com
8# Tens test user granted to permission
9# TC_NS2.40.10.POS Add user to watcher role
10expect 201
11user role add testunused@aaf.att.com com.test.TC_NS2.@[user.name].watcher
12
13as testunused@aaf.att.com
14# TC_NS2.40.11.POS Non-admin, granted user should view
15expect 200
16ns list name com.test.TC_NS2.@[user.name]
17
18as testid@aaf.att.com
19# TC_NS2.40.19.POS Remove user from watcher role
20expect 200
21user role del testunused@aaf.att.com com.test.TC_NS2.@[user.name].watcher
22
23# Thirties test admin user
24# TC_NS2.40.20.POS Admin should be able to view
25expect 200
26ns list name com.test.TC_NS2.@[user.name]
27
28# TC_NS2.40.21.POS Admin of parent NS should be able to view
29expect 200
30ns list name com.test.TC_NS2.@[user.name].project
31