sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | expect 200,404 |
| 2 | as testid@aaf.att.com |
| 3 | |
| 4 | # TC_NS2.99.1.POS Namespace Admin can delete Namepace defined Roles & Perms |
| 5 | role delete com.test.TC_NS2.@[user.name].myRole |
| 6 | role delete com.test.TC_NS2.@[user.name].watcher |
| 7 | perm delete com.test.TC_NS2.@[user.name].myType myInstance myAction |
| 8 | perm delete com.test.TC_NS2.@[user.name].myType * * |
| 9 | user cred del m99990@@[user.name].TC_NS2.test.com |
| 10 | |
| 11 | as XX@NS |
| 12 | force perm delete com.att.aaf.ns :com.test.TC_NS2.@[user.name]:ns read |
| 13 | |
| 14 | # TC_NS2.99.15.POS Remove ability to create creds |
| 15 | perm ungrant com.att.aaf.mechid com.att create com.test.TC_NS2.@[user.name].cred_admin |
| 16 | |
| 17 | as testid@aaf.att.com:<pass> |
| 18 | force role delete com.test.TC_NS2.@[user.name].cred_admin |
| 19 | |
| 20 | # TC_NS2.99.90.POS Namespace Admin can delete Namespace |
| 21 | force ns delete com.test.TC_NS2.@[user.name].project |
| 22 | force ns delete com.test.TC_NS2.@[user.name] |
| 23 | sleep @[NFR] |
| 24 | |
| 25 | # TC_NS2.99.99.POS Check Clean Namespace |
| 26 | ns list name com.test.TC_NS2.@[user.name] |
| 27 | |