sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | # TC_NS1.50.1.NEG Adding a Bogus ID |
| 2 | expect 403 |
| 3 | ns admin add com.test.TC_NS1.@[user.name] bogus |
| 4 | |
| 5 | # TC_NS1.50.2.NEG Adding a Bogus ID, full Domain |
| 6 | expect 403 |
| 7 | ns admin add com.test.TC_NS1.@[user.name] bogus@csp.att.com |
| 8 | |
| 9 | # TC_NS1.50.3.NEG Adding an OK ID, bad domain |
| 10 | expect 403 |
| 11 | ns admin add com.test.TC_NS1.@[user.name] xz9914@bogus.test.com |
| 12 | |
| 13 | # TC_NS1.50.4.NEG Deleting an OK ID, but not an admin |
| 14 | expect 404 |
| 15 | ns admin del com.test.TC_NS1.@[user.name] XX@NS |
| 16 | |
| 17 | sleep @[NFR] |
| 18 | # TC_NS1.50.10.POS Adding an OK ID |
| 19 | expect 201 |
| 20 | ns admin add com.test.TC_NS1.@[user.name] XX@NS |
| 21 | |
| 22 | # TC_NS1.50.11.POS Deleting One of Two |
| 23 | expect 200 |
| 24 | ns admin del com.test.TC_NS1.@[user.name] testid@aaf.att.com |
| 25 | |
| 26 | # TC_NS1.50.12.NEG testid@aaf.att.com no longer Admin |
| 27 | expect 404 |
| 28 | ns admin del com.test.TC_NS1.@[user.name] testid@aaf.att.com |
| 29 | |
| 30 | # TC_NS1.50.13.POS Add ID back in |
| 31 | expect 201 |
| 32 | ns admin add com.test.TC_NS1.@[user.name] testid@aaf.att.com |
| 33 | |
| 34 | # TC_NS1.50.14.POS Deleting original |
| 35 | expect 200 |
| 36 | ns admin del com.test.TC_NS1.@[user.name] XX@NS |
| 37 | |
| 38 | # TC_NS1.50.15.NEG Can't remove twice |
| 39 | expect 404 |
| 40 | ns admin del com.test.TC_NS1.@[user.name] XX@NS |
| 41 | |
| 42 | # TC_NS1.50.20.NEG User Role Add should obey same "addAdmin" restrictions |
| 43 | expect 403 |
| 44 | role user add com.test.TC_NS1.@[user.name].admin m88888@i.have.no.domain |
| 45 | |
| 46 | # TC_NS1.50.21.NEG Role User Add should obey same "addAdmin" restrictions |
| 47 | expect 403 |
| 48 | user role add m88888@i.have.no.domain com.test.TC_NS1.@[user.name].admin |
| 49 | |