Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_NS1 / 60_Responsible
1 # TC_NS1.60.1.NEG Adding a Bogus ID
2 expect 403
3 ns responsible add com.test.TC_NS1.@[user.name] bogus
4
5 # TC_NS1.60.2.NEG Adding a Bogus ID, full Domain
6 expect 403
7 ns responsible add com.test.TC_NS1.@[user.name] bogus@csp.att.com
8
9 # TC_NS1.60.3.NEG Adding an OK ID, bad domain
10 expect 403
11 ns responsible add com.test.TC_NS1.@[user.name] xz9914@bogus.test.com
12
13 # TC_NS1.60.4.NEG Deleting an OK ID, short, but not existent
14 expect 404
15 ns responsible del com.test.TC_NS1.@[user.name] testid
16
17 # TC_NS1.60.5.NEG Deleting an OK ID, long, but not existent
18 expect 404
19 ns responsible del com.test.TC_NS1.@[user.name] testid@aaf.att.com
20
21 sleep @[NFR]
22 # TC_NS1.60.10.POS Adding an OK ID
23 # Note: mw9749 used because we must have employee as responsible
24 expect 201
25 ns responsible add com.test.TC_NS1.@[user.name] mw9749
26
27 # TC_NS1.60.11.POS Deleting One of Two
28 expect 200
29 ns responsible del com.test.TC_NS1.@[user.name] mw9749
30
31 # TC_NS1.60.12.NEG mw9749 no longer Admin
32 expect 404
33 ns responsible del com.test.TC_NS1.@[user.name] mw9749
34
35 # TC_NS1.60.20.NEG User Role Add should obey same "addResponsible" restrictions
36 expect 403
37 role user add com.test.TC_NS1.@[user.name].owner m88888@i.have.no.domain
38
39 # TC_NS1.60.21.NEG Role User Add should obey same "addResponsible" restrictions
40 expect 403
41 user role add m88888@i.have.no.domain com.test.TC_NS1.@[user.name].owner
42
43