sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | as testid@aaf.att.com |
| 2 | # TC_NSdelete1.20.1.POS Create valid Role in my Namespace |
| 3 | expect 201 |
| 4 | role create com.test.TC_NSdelete1.@[user.name].app.r.A |
| 5 | |
| 6 | # TC_NSdelete1.20.2.POS Create valid permission |
| 7 | expect 201 |
| 8 | perm create com.test.TC_NSdelete1.@[user.name].app.p.A myInstance myAction |
| 9 | |
| 10 | # TC_NSdelete1.20.3.POS Add credential to my namespace |
| 11 | expect 201 |
| 12 | user cred add m99990@app.@[user.name].TC_NSdelete1.test.com password123 |
| 13 | |
| 14 | # TC_NSdelete1.20.10.NEG Delete Program Should fail because of attached credential |
| 15 | expect 424 |
| 16 | ns delete com.test.TC_NSdelete1.@[user.name].app |
| 17 | |
| 18 | # TC_NSdelete1.20.11.POS Delete Credential |
| 19 | expect 200 |
| 20 | set force=true |
| 21 | user cred del m99990@app.@[user.name].TC_NSdelete1.test.com |
| 22 | |
| 23 | # TC_NSdelete1.20.12.NEG Delete Program with role and permission attached |
| 24 | expect 424 |
| 25 | ns delete com.test.TC_NSdelete1.@[user.name].app |
| 26 | |
| 27 | # TC_NSdelete1.20.20.POS Expect role and permission to move to parent ns |
| 28 | expect 200 |
| 29 | set force=move ns list name com.test.TC_NSdelete1.@[user.name] |
| 30 | |