sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | |
| 2 | as testunused@aaf.att.com |
| 3 | # TC_NS2.40.1.NEG Non-admin, not granted user should not view |
| 4 | expect 403 |
| 5 | ns list name com.test.TC_NS2.@[user.name] |
| 6 | |
| 7 | as testid@aaf.att.com |
| 8 | # Tens test user granted to permission |
| 9 | # TC_NS2.40.10.POS Add user to watcher role |
| 10 | expect 201 |
| 11 | user role add testunused@aaf.att.com com.test.TC_NS2.@[user.name].watcher |
| 12 | |
| 13 | as testunused@aaf.att.com |
| 14 | # TC_NS2.40.11.POS Non-admin, granted user should view |
| 15 | expect 200 |
| 16 | ns list name com.test.TC_NS2.@[user.name] |
| 17 | |
| 18 | as testid@aaf.att.com |
| 19 | # TC_NS2.40.19.POS Remove user from watcher role |
| 20 | expect 200 |
| 21 | user 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 |
| 25 | expect 200 |
| 26 | ns list name com.test.TC_NS2.@[user.name] |
| 27 | |
| 28 | # TC_NS2.40.21.POS Admin of parent NS should be able to view |
| 29 | expect 200 |
| 30 | ns list name com.test.TC_NS2.@[user.name].project |
| 31 | |