blob: 78df9cc871c6fbda3d2e541c987b4be774da9bd5 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001# TC_NS1.50.1.NEG Adding a Bogus ID
2expect 403
3ns admin add com.test.TC_NS1.@[user.name] bogus
4
5# TC_NS1.50.2.NEG Adding a Bogus ID, full Domain
6expect 403
7ns 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
10expect 403
11ns 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
14expect 404
15ns admin del com.test.TC_NS1.@[user.name] XX@NS
16
17sleep @[NFR]
18# TC_NS1.50.10.POS Adding an OK ID
19expect 201
20ns admin add com.test.TC_NS1.@[user.name] XX@NS
21
22# TC_NS1.50.11.POS Deleting One of Two
23expect 200
24ns 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
27expect 404
28ns admin del com.test.TC_NS1.@[user.name] testid@aaf.att.com
29
30# TC_NS1.50.13.POS Add ID back in
31expect 201
32ns admin add com.test.TC_NS1.@[user.name] testid@aaf.att.com
33
34# TC_NS1.50.14.POS Deleting original
35expect 200
36ns admin del com.test.TC_NS1.@[user.name] XX@NS
37
38# TC_NS1.50.15.NEG Can't remove twice
39expect 404
40ns 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
43expect 403
44role 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
47expect 403
48user role add m88888@i.have.no.domain com.test.TC_NS1.@[user.name].admin
49