sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | expect 200,404 |
| 2 | as testid@aaf.att.com |
| 3 | |
| 4 | # TC_User1.99.0.POS Remove user roles |
| 5 | user role del @[user.name] com.test.TC_User1.@[user.name].manager |
| 6 | user role del m99990@@[user.name].TC_User1.test.com com.test.TC_User1.@[user.name].worker |
| 7 | user role del m99995@@[user.name].TC_User1.test.com com.test.TC_User1.@[user.name].worker |
| 8 | |
| 9 | # TC_User1.99.1.POS Namespace Admin can delete Namepace defined Roles & Perms |
| 10 | force perm delete com.test.TC_User1.@[user.name].supplies * move |
| 11 | force perm delete com.test.TC_User1.@[user.name].supplies * stock |
| 12 | force perm delete com.test.TC_User1.@[user.name].schedule worker create |
| 13 | force perm delete com.test.TC_User1.@[user.name].worker * annoy |
| 14 | force role delete com.test.TC_User1.@[user.name].manager |
| 15 | force role delete com.test.TC_User1.@[user.name].worker |
| 16 | |
| 17 | # TC_User1.99.10.POS Creds and delegate |
| 18 | user delegate del @[user.name] |
| 19 | user cred del m99990@@[user.name].TC_User1.test.com |
| 20 | user cred del m99995@@[user.name].TC_User1.test.com |
| 21 | |
| 22 | as XX@NS |
| 23 | # TC_User1.99.15.POS Remove ability to create creds |
| 24 | perm ungrant com.att.aaf.mechid com.att create com.test.TC_User1.@[user.name].cred_admin |
| 25 | perm ungrant com.att.aaf.delg com.att change com.test.TC_User1.@[user.name].cred_admin |
| 26 | perm delete com.att.aaf.user :com.test.TC_User1.@[user.name] view |
| 27 | |
| 28 | as testid@aaf.att.com:<pass> |
| 29 | force role delete com.test.TC_User1.@[user.name].cred_admin |
| 30 | |
| 31 | # TC_User1.99.90.POS Namespace Admin can delete Namespace |
| 32 | force ns delete com.test.TC_User1.@[user.name] |
| 33 | sleep @[NFR] |
| 34 | |
| 35 | # TC_User1.99.99.POS Check Clean Namespace |
| 36 | ns list name com.test.TC_User1.@[user.name] |
| 37 | |