sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | as testid@aaf.att.com |
| 2 | # TC_NSdelete1.30.1.POS Create valid Role in my Namespace |
| 3 | expect 201 |
| 4 | role create com.@[user.name].r.A |
| 5 | |
| 6 | # TC_NSdelete1.30.2.NEG Delete Company with role attached |
| 7 | expect 424 |
| 8 | ns delete com.@[user.name] |
| 9 | |
| 10 | # TC_NSdelete1.30.3.POS Namespace Admin can delete Namepace defined Roles |
| 11 | expect 200 |
| 12 | role delete com.@[user.name].r.A |
| 13 | |
| 14 | # TC_NSdelete1.30.10.POS Create valid permission |
| 15 | expect 201 |
| 16 | perm create com.@[user.name].p.A myInstance myAction |
| 17 | |
| 18 | # TC_NSdelete1.30.11.NEG Delete Company with permission attached |
| 19 | expect 424 |
| 20 | ns delete com.@[user.name] |
| 21 | |
| 22 | # TC_NSdelete1.30.12.POS Namespace Admin can delete Namepace defined Perms |
| 23 | expect 200 |
| 24 | perm delete com.@[user.name].p.A myInstance myAction |
| 25 | |
| 26 | # TC_NSdelete1.30.20.POS Create valid Credential in my namespace |
| 27 | expect 201 |
| 28 | user cred add m99990@@[user.name].com password123 |
| 29 | |
| 30 | # TC_NSdelete1.30.21.NEG Delete Company with credential attached |
| 31 | expect 424 |
| 32 | ns delete com.@[user.name] |
| 33 | |
| 34 | # TC_NSdelete1.30.22.POS Namespace admin can remove Cred |
| 35 | expect 200 |
| 36 | set force=true |
| 37 | user cred del m99990@@[user.name].com |
| 38 | |
| 39 | # TC_NSdelete1.30.30.POS Delete Company with no roles or perms attached |
| 40 | expect 200 |
| 41 | ns delete com.@[user.name] |
| 42 | |